Service.startForeground()与NotificationManager.notify(),给出不同的行为.
使用带有两个不同通知ID的notify时,会创建2个通知 - Good.
当使用startForground执行相同操作时,一个通知会覆盖另一个 - Bad.
经测试的设备:Nexus S(2.3.6)和Asus Transformer(4.0.3).
有关如何运行可以有多个(动态数字)通知的重要(前台)服务的任何想法?
service notifications android unique
android ×1
notifications ×1
service ×1
unique ×1