Dear All Experts,

I have developed my own application but I am unable to close it through coding.
I have  tried following ways
(a) System.exit(0)
(b) android.os.Process.killProcess(android.os.Process.myPid());
(c) super.destroy()
(d) this.finish();
(e) <Mycurrentactivityclassname>.this.getParent().finish();


but these all code restarts my application. Anybody's help will be appreciated. If I press the back button it seems that it has closed but again it is started after a fraction of seconds. If I press home key , it got the android deskop screen but when I see it is in task manager list, but it does not appear in the running process setting menu of mobile. But whenever I run the application again it appears in the same state when I had pressed home button.




Thanks & Regards
Prashant B Lal

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