Fix for OutofMemoryError: bitmap size exceeds VM budget

by haric zhu » Thu, 17 Jun 2010 13:48:08 GMT

Sponsored Links
 Because the memory of cell phone is very limited, so when you are operating
a bitmap it will take too much resource, it is no perfect way to avoid, the
only thing you can do is to optimize it, like more bigger sample size, maybe
options.inSampleSize = 10, or adjust the value of height and width, then
remember  to release memory in time. *

2010/6/16 pawan nimje <>


Other Threads

1. Sprint Hero Android 2.1 Lost Copy Protected Apps Access

Can somebody please confirm that the Spring Hero used to have access
to copy protected apps, however, after the upgrade to Android 2.1,
they now don't?

If this does get confirmed, is there any alternative to just removing
the copy protection?  Eg: If a user purchased a copy protected app,
then they upgraded to Android 2.1 (which wipes the phone), they can't
reinstall the copy protected app they purchased?



2. Handling keyevents in the Background (Service)

Dear all

Is it possible to handle the KeyEvents in the Service?

If possible, please guide me.

Thanks in Advance



3. Why is emulator with WVGA loading image from drawable-mdpi?

4. Internal Storage - APPS2SD

5. Info: screen capture

6. Mod: Paging Medan Android User

7. Augmented reality problem with Android 2.2 only, Openg Surface View and Surface View for Camera. 3D Not Rendering.