finish() doesnt stop the service or any other activities that are
running, any way to stop all things in this package?
How do I "Fix my launch activity"?


On Jul 14, 7:14 pm, Mark Murphy <[email protected]> wrote:
> On Wed, Jul 14, 2010 at 12:57 PM, Boozel <[email protected]> wrote:
> > Can any one give me some code to close all the services and activities
> > of my app so they dont reopen?
>
> Do not do this.
>
> > i know in android you dont have to
> > close your app but i want the app to exit if the terms of service are
> > not accepted.
>
> Call finish() in your activity if they decline the terms of service.
>
> > at the moment im using
> > android.os.Process.killProcess(android.os.Process.myPid());
>
> Please do not do this in production code.
>
> > in one of
> > my activities but the launch activity automatically starts aggin, any
> > way to prevent this?
>
> Fix your launch activity.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

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