Ted

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

在 Quitting an application - is that frowned upon? 中,很多人探讨了android中退出app的问题,

 

Google官方是这样说的:

 

Question: Does the user have a choice to kill the application unless we put a menu option in to kill it? If no such option exists, how does the user terminate the application?


Answert (Romain Guy): The user doesn't, the system handles this automatically. That's what the activity lifecycle (especially onPause/onStop/onDestroy) is for. No matter what you do, do not put a "quit" or "exit" application button. It is useless with Android's application model. This is also contrary to how core applications work.


不过,新浪微博,微信,米聊,按菜单,都有退出选项。

所以,我觉得菜单中有退出也还好。

posted on 2012-03-04 18:01  wufawei  阅读(210)  评论(0编辑  收藏  举报