[android-developers] Re: Displaying already existing activities

2008-04-12 Thread Kosmaj
I'm facing exactly the same problem. I'd also like to reuse an already started activity (A) in the background but no luck so far. I haven't tried singleInstance but I tried to set various launch flags (Intent.setLaunchFlags) on the Intent being used to restart A, however, always a new instance of

[android-developers] Re: Displaying already existing activities

2008-04-09 Thread Mihai Fonoage
Any other comments are welcome! Mihai On Apr 8, 3:12 pm, Mihai Fonoage <[EMAIL PROTECTED]> wrote: > The solution you mentioned was also the one I found on this forum, and > which requires the task id for the activity to be passed in the > moveTaskToFront method call. Unfortunately, every activit

[android-developers] Re: Displaying already existing activities

2008-04-08 Thread Mihai Fonoage
The solution you mentioned was also the one I found on this forum, and which requires the task id for the activity to be passed in the moveTaskToFront method call. Unfortunately, every activity I create has the same task id. This would not be the case if the activity would be created with singleIn

[android-developers] Re: Displaying already existing activities

2008-04-08 Thread David Welton
> It would have been nice to be able to get a list of all existing > (background) activities and close them manually, but I don't think > it's possible. My guess is that you're going to have to go fishing in the undocumented stuff, which might all change tomorrow. This class looks interesting