Hi
I am trying to close the android application from the program ie. I have an exit option in my application which will close the running android application.

If there is a single activity pushed inside the stack, we can use finish() to close the application and activity as well.

If there are number of activities inside the stack how can we quit the application ?

If anybody know solution/api for closing whole application, please do reply to this post.

Thanks