On Wed, May 18, 2011 at 8:28 PM, Bruno Lopes <[email protected]> wrote:

> I'he a android app with 5 activities and i would close all open activities
> by pressing a button, for example. How I do it exactly? What is the better
> strategy? Somebody can help me?
>

IDK about "best", but discussed here has been the idea of a flag you pass
down the stack in onActivityResult() that tells each parent Activity in the
chain that it should commit suicide and pass the message along.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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