80,480
社区成员
发帖
与我相关
我的任务
分享
在应用层有一个contacts的源码,你可以去瞧瞧
我也不晓得[/quote]多谢多谢,看来还必须去看下了,我想着大家说不定有人对notification和contacts一起比较了解的呢。[/quote]搞定,apk发送的广播,在处理apk主进程的时候发送的notification,将这个notification设置为不再staturbas中显示即可!!!StatusBarNotification(pkg=com.yulong.android.contacts user=UserHandle{0} id=1 tag=null score=0 key=0|com.yulong.android.contacts|1|null|10010: Notification(pri=0 contentView=com.yulong.android.contacts/0x1090078 vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff607d8b vis=PRIVATE))
pkg=com.yulong.android.contacts 不就是这个包里发出的么,开机自动运行了嘛
我想知道的是开机启动后,contacts是在哪里发的这个notification?多谢。 [quote=引用 4 楼 gao_chun 的回复:] StatusBarNotification(pkg=com.yulong.android.contacts user=UserHandle{0} id=1 tag=null score=0 key=0|com.yulong.android.contacts|1|null|10010: Notification(pri=0 contentView=com.yulong.android.contacts/0x1090078 vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff607d8b vis=PRIVATE))
在应用层有一个contacts的源码,你可以去瞧瞧
我也不晓得[/quote]多谢多谢,看来还必须去看下了,我想着大家说不定有人对notification和contacts一起比较了解的呢。我想知道的是开机启动后,contacts是在哪里发的这个notification?多谢。 StatusBarNotification(pkg=com.yulong.android.contacts user=UserHandle{0} id=1 tag=null score=0 key=0|com.yulong.android.contacts|1|null|10010: Notification(pri=0 contentView=com.yulong.android.contacts/0x1090078 vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff607d8b vis=PRIVATE))
我也不晓得[quote=引用 3 楼 sagittarius1988 的回复:] pkg=com.yulong.android.contacts 不就是这个包里发出的么,开机自动运行了嘛