开发者

standard memory coverage of android app

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜