Jump to content

Proper way to exit native application from Java?


rbarker

Recommended Posts

We need to kill the application some times from Java. I've tried calling both System.exit(0); and Process.killProcess(Process.myPid());

 

Both seem to cause the AcitivyManager to restart the application. Is there a way to prevent this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...