【发布时间】:2014-04-04 18:13:32
【问题描述】:
我一直在阅读有关如何正确执行状态栏通知的信息,但大多数解决方案都使用了已弃用的功能。我认为 NotificationCompat.Builder 是解决我的问题的最佳和最新的解决方案。谁能给我一个示例代码?
对于像我这样的新手来说,我发现的最好的例子似乎不太清楚。不知道是必须在函数中实现代码并调用还是必须将代码粘贴到活动区。
Notifications with NotificationCompat.Builder
提前感谢您的帮助和时间。
【问题讨论】:
-
转到这个:AndroidNotifications
-
感谢您的帮助,终于我的应用程序运行良好。谢谢!!! @SimplePlan
标签: android notifications statusbar