比如我按我界面上的按钮 就等于 按了后退键
解决方案 »
- 请教:QQ游戏大厅中游戏安装在内存卡的原理
- 如何去掉乐Phone progressdialog上的取消按钮
- 如何理解资源引用中的@和?
- 请教关于 Permission Denial的问题
- adb connect通过wifi网络连接不上真机
- ListView里的Button每次点击都是最后一项item变。
- 我要在非sdcard 上写一个文件,让其他所有应用都有权限访问?
- 求教:WindowManager如何重画窗口
- 请问大家android开发分为哪些类型呢?
- android百度地图
- 重写onPause(),按下Back或Home键“程序意外停止”的问题
- 想做android开发,大家给推荐个调试用的手机呗
* Called when the activity has detected the user's press of the back
* key. The default implementation simply finishes the current activity,
* but you can override this to do whatever you want.
*/
public void onBackPressed() {
finish();
}