How to Get the VM Budget in Android for Bitmaps?

view story

http://stackoverflow.com – Is there some way to find the VM budget for bitmaps? My app displays two photographs at once and this is possible given appropriate scaling and colour depth, but, if the device has a bigger VM budget (as some do), I would like the app to use it for better image quality. Is there an API call to get the VM budget? I have done this using binary trial and error but it is slow. Any help would be very much appreciated. (HowTos)