04 2013 档案

点击Notification正确回调到之前已经放置在后台的Task中的对应Activity,而不是创建它的一个新实例
摘要:NotificationManager notificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); Notification notification = new Notification(R.drawable.logo_icon_16,"移动营销", System.currentTimeMillis()); Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGOR 阅读全文

posted @ 2013-04-09 00:10 屌丝迷途 阅读(369) 评论(0) 推荐(0) 编辑

Android中在通知栏内常驻应用程序消息
摘要:// 添加常驻通知private void setNotification() { NotificationManager notificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); Notification notification = new Notification(R.drawable.icon, getString(R.string.app_name), System.currentTimeMillis()); Intent intent = new Inten... 阅读全文

posted @ 2013-04-08 23:50 屌丝迷途 阅读(1860) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示