相关疑难解决方法(0)

Android Service.startForeground不尊重通知ID唯一性

Service.startForeground()与NotificationManager.notify(),给出不同的行为.

使用带有两个不同通知ID的notify时,会创建2个通知 - Good.

当使用startForground执行相同操作时,一个通知会覆盖另一个 - Bad.

经测试的设备:Nexus S(2.3.6)和Asus Transformer(4.0.3).

有关如何运行可以有多个(动态数字)通知的重要(前台)服务的任何想法?

service notifications android unique

6
推荐指数
1
解决办法
1779
查看次数

标签 统计

android ×1

notifications ×1

service ×1

unique ×1