• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exiting from application

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know how to completely exit from application.
I know finish() method , but it is related to only particular intent.

I want exit from application completely not from particular intent only.


Thanks in advance
 
Mark L. Murphy
Author
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The official recommendation is: don't do that.

The unofficial solution: System.exit(0); just like any other Java app.
 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic