【发布时间】:2014-01-24 11:24:59
【问题描述】:
你好朋友,我想在我们的移动通知详细信息中显示我的应用程序,如下图所示
知道如何实现吗?
我的自定义对话框
【问题讨论】:
标签: android statusbar android-notifications android-notification-bar
你好朋友,我想在我们的移动通知详细信息中显示我的应用程序,如下图所示
知道如何实现吗?
我的自定义对话框
【问题讨论】:
标签: android statusbar android-notifications android-notification-bar
为您的通知分配 Notification.FLAG_ONGOING_EVENT 标志。
示例代码:
yourNotification.flags = Notification.FLAG_ONGOING_EVENT;
// Notify...
如果您不熟悉通知 API,请阅读 Android 开发者网站上的创建状态栏通知。
【讨论】: