Re: [android-developers] plz help close application
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 | 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help close application
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 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks and Regards, Ankit Kasliwal kasliwalankit2...@gmail.com +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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help close application
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) 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help close application
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) 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help close application
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 Please do not use this in production applications. -- 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en