把你要显示的activity 设置模式为singleInstance 就可以跳转过去了
解决方案 »
- androidpn客户端连接服务端出现异常
- error: Error retrieving parent for item: No resource found that matches the give
- 关于input输入子系统中input_report_key的参数问题
- ListView中内容长短不一导致有些Item不好点击
- 调用摄像头时报ArrayIndexOutOfBoundsException错,求解决!
- 模拟器默认网络模式是GSM,在什么地方定义的呢?
- 求教:ScrollView 嵌套 ListView 导致getView 重复多次
- listview的getView里面返回LinearLayout,为何报错了?
- cocos2d-x安卓游戏开发.兄弟们介绍一款测试机吧.模拟器太慢,受不了.
- eclipse android 求助
- 【求助】android ril层移植到通用linux平台
- 关于Android系统运行纯java来绕过系统权限检查
没写过服务,不知道怎么弄。
.setAction(Intent.ACTION_MAIN)
.addCategory(Intent.CATEGORY_LAUNCHER)
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.setClass(getApplication(), MainActivity.class);