[android-developers] Re: Leaving an app by pressing 'Home' and going back to it but a new one is started
Make it single instance On Aug 14, 8:03 am, Greg Siano wrote: > I've recently been getting user complaints that when they leave my app > by pressing the 'Home' key, my app continues to play sounds like it is > supposed to, but when they go back to the app, a new one opens, but > the old one is still running in the background. I have noticed this > sometimes myself too, but only recently (my app has been on the market > for a while now). I've done some testing myself and noticed that when > a new instance of the app is opened after pressing 'Home' then > starting the app again, pressing the 'back' key will go back to the > original instance of the app that was opened. This means that the > original instance of the app was not killed, but a new one was just > opened over it. Has anyone else experience something like this? or > know what could be going on? Thanks -- 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
[android-developers] Re: Leaving an app by pressing 'Home' and going back to it but a new one is started
I think you will both find much joy by reading the "Launch Modes" section of http://developer.android.com/guide/topics/fundamentals.html On Aug 14, 3:17 pm, shawn wrote: > I got a recent complaint about this too. I have not been able to > reproduce it myself. My user did say that if instead of relaunching > the app from the main icon, he held down the home key to get a list of > recent apps and chose my icon's app from that list and it seemed to > avoid the problem. -- 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
[android-developers] Re: Leaving an app by pressing 'Home' and going back to it but a new one is started
I got a recent complaint about this too. I have not been able to reproduce it myself. My user did say that if instead of relaunching the app from the main icon, he held down the home key to get a list of recent apps and chose my icon's app from that list and it seemed to avoid the problem. -- 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