开发者

standard memory coverage of android app

开发者 https://www.devze.com 2023-02-12 07:47 出处:网络
what should be the maximum memory can be used by an stan开发者_开发百科dard android app.http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass()

what should be the maximum memory can be used by an stan开发者_开发百科dard android app.


http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass()

Return the approximate per-application memory class of the current device. This gives you an idea of how hard a memory limit you should impose on your application to let the overall system work best. The returned value is in megabytes; the baseline Android memory class is 16 (which happens to be the Java heap limit of those devices); some device with more memory may return 24 or even higher numbers.

So basically, from 16mb to whatever.

0

精彩评论

暂无评论...
验证码 换一张
取 消