I want to implement an exit() method on menu item but the problem was that i
don't know how to do this exactly when i try to execute finish() on exit()
called only the current activity will terminate but i want to terminate the
application it self i also tried

-  int pid = android.os.Process.myPid();
-  android.os.Process.killProcess(pid);

 but the result was an error message and the home application activity is
called  .....

i don't know what to do :(

-- 
Cordially
Alaeddine Melliti

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