比如我按我界面上的按钮 就等于 按了后退键
解决方案 »
- 各路神仙啊,Android怎么直接连接SQL Server?
- rawquery模糊查询的结果为什么只有一条啊
- 类似于新浪微博的回复提醒功能
- 一个TabHost能不能只有一个activity,还是分别每个tab都要有
- 按键延迟处理问题
- gallery控件中Item之间图片有重叠的问题
- 如何查看Android模拟器的System分区空间
- 各位牛人,如何才能让自己的照相应用被微信调用?
- Android中如何做到能够接收到服务器传来的消息?
- AS更新之后问题不断,Run一直是灰色的,get不到pom文件
- 重写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();
}