On Wed, Sep 8, 2010 at 11:03 AM, Ajmer singh <[email protected]> wrote:
> I have another question regarding that, How can i put the already running
> activity in the background to the foreground,
> For example : if i have started Activity A then i started other Activity B
> Then Activity A should be sent to background Then how can i bring back
> Activity A to foreground(With using the Back button).

Call finish(), which will destroy B and bring A back to the foreground.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://skillsmatter.com/go/os-mobile-server

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