Thanks for that! I had resigned myself to dealing with that android
quirk / bug, and never re-tested on my actual device in use - I never
noticed that the issue didn't actually happen on my phone in normal
use :)

Thanks again,
Tao

On Aug 6, 11:27 am, Rick <[email protected]> wrote:
> After doing some further testing, it turns out this wasn't the
> problem. It seems the problem was happening because the instance of
> the app launched on the emulator when hitting run is different from
> the one run when selecting the program on the phone. So it was opening
> two separate instances instead of simply reopening the existing one.
>
> On Aug 6, 10:45 am, Rick <[email protected]> wrote:
>
>
>
> > I have a question about the activity cycle when you use the Home
> > button to exit an application.
>
> > I have noticed that when you use the Home button to exit an
> > application, you can hold the Home button to move back to that
> > application, but selecting that application from the list of programs
> > or the 'desktop' will open a new instance of it.
>
> > So I'm wondering is there a way to make it so that if the program is
> > running already, then it will move back to that application like it
> > does from the task menu brought up from holding home button? Or is
> > this something that needs to be handled via the activity methods (such
> > as onCreate, onResume, etc) or in some other clever way?
>
> > Thanks.
>
> > Rick- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to