or a non-android way to do it is calling this:

android.os.Process.killProcess(android.os.Process.myPid());

On May 20, 10:11 am, Rocky <[email protected]> wrote:
> use function movetasktoback().
>
>
>
>
>
>
>
>
>
> On Fri, May 20, 2011 at 7:32 AM, Bruno Lopes <[email protected]> wrote:
> > thanks
>
> > On 19 maio, 12:04, TreKing <[email protected]> wrote:
> > > 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
>
> --
> Thanks & Regards
>
> Rakesh Kumar Jha
> Software Developer
> Symphony Services Corp (India) Pvt Ltd
> Bangalore
> (O) +918030274295
> (R) +919886336619

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