【发布时间】:2012-03-29 14:54:37
【问题描述】:
Service.startForeground() vs NotificationManager.notify(),给出不同的行为。
当使用具有两个不同通知 ID 的 notify 时,会创建 2 个通知 - Good。
对 startForground 执行相同操作时,一个通知会覆盖另一个通知 - Bad。
测试设备:Nexus S(2.3.6) 和 Asus Transformer (4.0.3)。
任何想法如何运行可以有多个(动态编号)通知的重要(前台)服务?
【问题讨论】:
-
也发生在华硕变压器(Android 4.0.3)上。
标签: android service notifications unique