Monday, March 19, 2012

Re: [android-developers] How to keep activity running

There are four components part of application.
Instead of using activity create a service and try to use it...

On Mon, Mar 19, 2012 at 7:09 PM, RedBullet <scottedchapman@gmail.com> wrote:
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

--
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