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
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
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
> 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
4 matches
Mail list logo