Monday, March 19, 2012

[android-developers] How to keep activity running

My application is a GPS nav type app. Needs to be running when I am doing a route.

It appears that the system can decide to kill my process (I see onDestroy) get called for example.

So, what's the right policy here, should I over-ride the onDestroy and just have it do nothing, but provide a way to manually kill the activity?

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

No comments:

Post a Comment