If you have Activity 'A' running, you can launch a new Activity 'B'
without calling finish().  This will place Activity 'B' in the
foreground of the app.

Then you can call finish() on Activity 'B' and it will take you back
to 'A'.  Just be aware that if you run out of memory, Activity 'A' may
not be there.

On Sep 1, 4:49 pm, bob <[email protected]> wrote:
> Is there a way to switch easily from one Intent to another?  I know
> how to start a new one with startActivity, but I want to know how to
> go back to an existing one.

-- 
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