Hi,

I'm working on an application which allocates lot of memory and hence
I'm bound to get OutOfMemory. I want a way to get notified when system
is running short of memory so that I can stop processing further,
notify user and release as much memory as possible.

According to official Android documentation there is a callback
onLowMemory from the system. I have a class which extends
android.app.Application and I have overridden onLowMemory() method.
This class has entry in the in the application tag of AndroidManifest.
However it never gets called in my case.  Do I need to register for
this event using AndroidManifest or any other means?

Thanks,
Atul

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to