我需要完成所有的Android应用程序在运行活动被点击退出按钮时。我该怎么办呢?
我想:
在与退出选项,屏幕上的选项菜单。 当我点击退出菜单,应用程序应该关闭。 解决方案您不应该在Android应用程序中实现的退出按钮。
读http://groups.google.com/group/android-developers/browse_thread/thread/1bf0f7a4a9c62edd/a0a4aedf21ae5f76?pli=1
干杯
I need to finish all the activities running in an Android application when an exit button is clicked. How can I do that?
What I want:
An option menu on screen with an EXIT option. When I click the Exit menu, the application should close.解决方案
You should not implement an Exit button in an Android application.
Read http://groups.google.com/group/android-developers/browse_thread/thread/1bf0f7a4a9c62edd/a0a4aedf21ae5f76?pli=1
Cheers