just put
android.os.Process.killProcess(android.os.Process.myPid());
to close all activity related with your appliction

On Tue, Jan 10, 2012 at 4:19 AM, Mark Murphy <[email protected]>wrote:

> On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia <[email protected]>
> wrote:
> > how can we close app/activity?
>
> Your activity can "close" itself by calling finish().
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
> 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 and Regards,

Ankit Kasliwal
[email protected]
+91-9300-940-136

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