[android-developers] Re: How to close all activities on android app
thanks
On 19 maio, 12:04, TreKing <treking...@gmail.com> wrote:
> On Wed, May 18, 2011 at 8:28 PM, Bruno Lopes <brunolope...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home