> I would like the exit button to completely kill the app off. Android decides when to fully terminate the app process, not the developer. This is just the way things work -- Google it.
> The bigger problem then, is that the next time I launch the app, there are > now two threads of ajax polling, which is breaking my application. > > I have my app set to launch in single instance mode (which is required). > > What is the best thing to do here? Stop whatever needs stopping in the hosting activity's onStop() method which is invoked whenever that activity is no longer visible to the user and start it again on onStart(). Doug -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en