Reputation: 14066
How to kill my application after call finish?
(i can see my app in HTC's phone, but i finished that activity anyway)
Upvotes: 4
Views: 2247
Reputation: 3969
this.finish() terminates my applications fine.
Have you looked in LogCat to see if anything is reported when you execute finish()??
Upvotes: 0
Reputation: 2871
There's really no need for this, Android automatically decides when to kill apps. However, you can, if you need to, kill it using:
Process.killProcess(Process.myPid());
Upvotes: 9