摘要: 写好Notification , 按Home回到主界面,再按通知栏的消息(Notification), 回到退出之前正在运行的Acticity . 在代码中加入两行代码作为声名即可。 : Intent notificationIntent = new Intent(this,this.getClass()); /* */ notificationIntent.setAction(Intent.ACTION_MAIN); notificationIntent.addCategory(Intent.CATEGORY_LAUNCHER); Pendi... 阅读全文
posted @ 2012-11-01 14:11 那些人追过的年 阅读(905) 评论(0) 推荐(0) 编辑