aviod android memory leak

by venkat vakiti » Mon, 07 Dec 2009 14:04:10 GMT


Sponsored Links
 can someone tell me avoid android memory leak.how to remove resources
when the screen orientation changes?

--



aviod android memory leak

by Romain Guy » Mon, 07 Dec 2009 14:35:52 GMT


 Unless you are somehow keeping a reference to a Context via a static
field, resources are automatically discarded on orientation change.
You can read the following articles to help you:

 http://www.curious-creature.org/2009/02/07/track-memory-allocations-on-android/ 
 http://www.curious-creature.org/2008/12/18/avoid-memory-leaks-on-android/ 



>


Sponsored Links


Other Threads

1. connecting to internet via app

Hi

Is there any way to start/enable the internet through Wifi/GPRS/EDGE/UMTS
from my android application??

Thanks and Regards.

-- 

2. Flashing the android device

Hello everybody,
After dowloading the source code of the android OS, I have made some
modifications on it.
Now I want to flash my device with the new system.
How to proceed?
Thanks in advance.

-- 

3. Any way to get some equivalent to the adb log while the device is not plugged into computer?

4. handling rotation...

5. Set Android application dependency from custom Java library

6. Android Application which use framebuffer

7. Virtual Keyboard