You can kill your application by calling Process.killProcess().
http://developer.android.com/reference/android/os/Process.html#killProcess(int)

However, this function call will kill process forcibly, in other words the 
onDestroy() functions not be called when Activity be terminated.

julian Garcia於 2012年4月20日星期五UTC+8上午3時42分52秒寫道:
>
> I need to know how I can close my android application and all its 
> activities. Any ideas that might help me do this?
>
> thank you very much 
>

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