Is it possible to declare the required minimum virtual machine heap size for the OS / device in the Android manifest, so that the Android Market displays the application only for devices that satisfy this requirement and filters out the rest.
I can determine the maximum VM heap size during application startup and crash if there is not enough available memory. However, this will be inconvenient for users.
To be specific, I am working on a hobby with a friend where graphics require at least 16 MB, but not more than 24 MB of memory. The use of memory is more or less optimal in the sense that only the required graphics are loaded into memory in any state of the game.
Timo
source share