how can we close app/activity?
--
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
On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia dhavalkva...@gmail.com 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 |
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 mmur...@commonsware.comwrote:
On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia dhavalkva...@gmail.com
wrote:
how can we close
On Tue, Jan 10, 2012 at 7:24 AM, Ankit Kasliwal
kasliwalankit2...@gmail.com wrote:
just put
android.os.Process.killProcess(android.os.Process.myPid());
to close all activity related with your appliction
Please do not use this in production applications.
--
Mark Murphy (a Commons Guy)
thanks friend
On Jan 10, 2012 5:50 PM, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia dhavalkva...@gmail.com
wrote:
how can we close app/activity?
Your activity can close itself by calling finish().
--
Mark Murphy (a Commons Guy)
thanks mark
On Jan 10, 2012 6:18 PM, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Jan 10, 2012 at 7:24 AM, Ankit Kasliwal
kasliwalankit2...@gmail.com wrote:
just put
android.os.Process.killProcess(android.os.Process.myPid());
to close all activity related with your appliction
6 matches
Mail list logo