[android-developers] Re: exit strategy

2011-01-14 Thread Brill Pappin
Can't they just press the home button? If your app runs in some sort of loop (and is not simply event based), it might want to pay attention to the activity methods that let the app know its not in the foreground, but other than that, what else do you need to do? - Brill Pappin -- You receive

[android-developers] Re: exit strategy

2011-01-15 Thread JAlexoid (Aleksandr Panzin)
The ADB kills it with reinstall... So he could have missed it... On 15 янв, 06:51, TreKing wrote: > On Thu, Jan 13, 2011 at 11:35 AM, bob wrote: > > How do most Android apps allow the user to quit, and do they have a way to > > quit my slot machine even though I forgot to code it in? > > How did

Re: [android-developers] Re: exit strategy

2011-01-15 Thread TreKing
On Sat, Jan 15, 2011 at 2:50 AM, JAlexoid (Aleksandr Panzin) < jalex...@gmail.com> wrote: > The ADB kills it with reinstall... So he could have missed it... True - in which case I wouldn't call that proper testing. Once you think you're ready to release something, you should be running it as the

Re: [android-developers] Re: exit strategy

2011-01-15 Thread Kevin Duffey
I thought you weren't really supposed to "quit" an app? I know the Android system will kill an app when necessary to reclaim resources. I have seen apps, including google maps that allow you to exit. In the case of google maps, if you're using the navigation, and don't exit, it keeps on talking and

Re: [android-developers] Re: exit strategy

2011-01-15 Thread TreKing
On Sat, Jan 15, 2011 at 2:35 PM, Kevin Duffey wrote: > I thought you weren't really supposed to "quit" an app? > Right - but you should "back out" of your app and make sure whatever lifecycle methods you're handling work correctly. > But I thought by listening to the activity events of pause/r

Re: [android-developers] Re: exit strategy

2011-01-15 Thread Frank Weiss
Another problem with bluntly killing the app's process is that Android keeps information about the app's state elsewhere. -- 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.c

Re: [android-developers] Re: exit strategy

2011-01-15 Thread Dianne Hackborn
On Sat, Jan 15, 2011 at 12:35 PM, Kevin Duffey wrote: > I thought you weren't really supposed to "quit" an app? I know the Android > system will kill an app when necessary to reclaim resources. I have seen > apps, including google maps that allow you to exit. In the case of google > maps, if you'

Re: [android-developers] Re: exit strategy

2011-01-15 Thread Kevin Duffey
Ok..good, then what I've read and understood are correct!! BTW, Diane, kudos to the Android 2.3 team! I am surprised it's not a 3.0 release with all the.. in my opinion.. huge additions to the native side. I can't wait to see (and hopefully use) the games and music apps that will finally be compar

Re: [android-developers] Re: exit strategy

2011-01-15 Thread Dianne Hackborn
On Sat, Jan 15, 2011 at 4:28 PM, Kevin Duffey wrote: > BTW, Diane, kudos to the Android 2.3 team! I am surprised it's not a 3.0 > release with all the.. in my opinion.. huge additions to the native side. I > can't wait to see (and hopefully use) the games and music apps that will > finally be com