I found some game apps use larger memory than the default limit (64MB in Nexus 7).
To achieve that, I assume they set the android:largeHeap="true"
In my codes, I want to check if an app set this flag or not. Any clue?
Check for ApplicationInfo
objects with FLAG_LARGE_HEAP
. You can get these objects from PackageManager
(e.g., via getApplicationInfo()
).