代码改变世界

随笔档案-2012年02月

android使用finish()和System.exit()退出应用程序的理解

2012-02-17 13:58 by Kevin-wang, 951 阅读, 收藏,
摘要: this.finish() in Activity only stop and destroy this activity, application still staying background (check by hold HOME button) I used: System.exit(0); but it still appear there! That's how Android works. The user/developer is not given any way to actually exit the application. When you call  阅读全文