when i click a button my app should be terminated. It must not to run at the background. that is when holding the home key, My App should not be alive. For Example, i have to redirect my app to the browser. then My App goes to as a background Task. I want to terminate before the redirection to browser. How is it Possible? Any Idea? Better I would need a Explanation on that. that helps to understand How it works to EveryBody.
Thanks in Advance.
http://developer.android.com/guide/topics/fundamentals.html#clearstack
.. or something like this. I’m new to android, and had just past this part of the docs, and I thought it might help.
EDIT: maybe call
finish()inonPause()?