Last active
June 12, 2017 09:46
-
-
Save vovkab/4a2ebfec67c58996b034 to your computer and use it in GitHub Desktop.
Android device memory class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActivityManager manager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); | |
int memoryClass = manager.getMemoryClass(); | |
48 - Samsung Nexus S | |
64 - Samsung Galaxy Nexus | |
Samsung S2 | |
Samsung S3 | |
128 - Samsung S4 | |
HTC One | |
192 - Nexus 5 | |
Nexus 7 (2013) | |
256 - Nexus 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment