Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Urban Airship:默认状态栏通知的自定义图标
Urban Airship 建议创建自定义通知CustomPushNotificationBuilder如果您想对状态栏通知进行任何修改 包括简单地更改图标 不幸的是 使用RemoteView因为通知会带来许多与定制制造商和 或特定于平台的
Android
urbanairshipcom
androidnotifications
androidnotificationbar
从 Android 通知中的 URL 加载图像
在我的 Android 应用程序中 我想动态设置将从 URL 加载的通知图标 为此 我使用了setLargeIcon中的NotificationBuilder的属性receiver 我参考了很多链接并尝试了各种解决方案 但无法获得所需的输出
如何保留操作/标题栏但隐藏通知栏
如何保留操作 标题栏但隐藏通知栏 这个问题看起来已经得到了回答 但我发现的大多数答案都隐藏了操作栏和通知栏 我希望能够保留操作 标题栏 我得到的最好的方法是隐藏两者并使用线性布局来显示自定义操作 标题栏 但我想要一个系统生成的 另外 是否可
Android
androidactionbar
androidnotificationbar
自定义通知声音未播放
我正在尝试在状态栏通知上播放自定义声音 这 mp3文件位于res raw 但是当我通知用户时 声音不会播放 我尝试过使用 MediaPlayer 它可以工作 但我不想让它与 MediaPlayer 一起播放 这是我的方法 public vo
Android
androidnotifications
androidnotificationbar
自定义Android通知声音
我正在尝试在我的应用程序中实现自定义通知声音 我编写了以下代码 但应用程序仅播放默认声音 而不播放我在原始文件夹中添加的自定义声音 收到通知后 日志甚至不会抛出任何错误或异常来说明为什么不播放自定义声音 我尝试在网上搜索并尝试采用不同的方法
单击通知时如何打开“活动”
我需要使用带有点击事件的通知 我有通知方法 但此方法不会打开我的活动 My code private void sendNotification String msg NotificationCompat Builder mBuilder
Java
Android
androidnotifications
androidnotificationbar
我可以在 Android 4.1+ 上强制展开 Android 通知吗? [关闭]
Closed 这个问题不符合堆栈溢出指南 help closed questions 目前不接受答案 我想知道是否可以强制展开有 2 个按钮的通知 因为我认为如果不展开 用户将找不到它们 Poweramp 似乎实现了这一点 请任何人帮助我
Android
androidnotificationbar
通知通过旧意图附加
我正在通过以下代码在 BroadcastReceiver 内创建通知 String ns Context NOTIFICATION SERVICE NotificationManager mNotificationManager Notif
Android
androidnotifications
androidpendingintent
androidnotificationbar
如何检测通知/系统栏何时打开
我需要知道系统 通知栏何时在我的应用程序中打开 但我找不到任何真正的解决方案 所以我将一些东西组合在一起 看起来效果很好 在详细介绍实现之前 我将简要解释一下我的 非常老套的 逻辑 当某个 Activity 由于任何原因不再对用户可见时 将
Android
androidnotificationbar
如何通过单击通知来关闭我的应用程序的任何活动?
当我单击通知时 应用以下操作 intent setFlags Intent FLAG ACTIVITY NEW TASK Intent FLAG ACTIVITY CLEAR TOP startActivity intent 在应用程序的所
Android:多个警报不起作用
在我的应用程序中 我设置了两个闹钟 在 ToogleButton 上 我将使用以下代码将其设置为打开 case R id toggleButtonTwoMonth myPrefs this getSharedPreferences myPr
Android NotificationListenerService onNotificationPosted 触发两次
我收听 WhatsApp 消息等通知 但每次有通知进入时 NotificationListenerService 都会触发两次 有谁知道这个问题吗 这是 AndroidManifest xml 中的一个片段
Android
androidnotifications
androidnotificationbar
Android 通知栏打开最后一个活动活动?
我正在创建类似计时器应用程序 当我启动计时器时 我可以选择转到 android Home 或启动任何其他活动 当我启动计时器时 我设置了一个通知栏图标 如果我使用其他应用程序 意味着从启动的计时器活动开始 现在我需要通过单击通知图标返回到之
Android
androidintent
androidactivity
androidnotificationbar
Android 多重通知在点击时发送相同的数据
Android 中的通知在点击时具有相同的意图 我在安装主题后发送通知 考虑我安装了 4 个主题 通知窗口中出现了 4 个通知 但是当我单击每个通知时 它将启动特定的活动 但意图是每个意图具有相同的数据 我的代码是这样的 SuppressW
Android
androidintent
androidnotifications
androidnotificationbar
如何在NotificationCompat.Builder.setLargeIcon()中加载Glide缓存图像?
喜欢这张图片我正在尝试将通知大图标设置为用户个人资料缩略图 像 Whatsapp 或其他聊天应用程序 我努力了 Glide with context asBitmap load messageNotification getLargeIco
Android
pushnotification
androidglide
androidnotificationbar
Android 中如何统计通知数量并显示单个图标?
我有多个 Android 通知 但是当我从网络服务器发送消息时 Android 设备会在状态栏上创建一个新的通知图标 我想统计未读通知的数量 显示在statusbar具有单个图标 并且当阅读通知时 该通知必须更改未读通知计数的数量 我该怎么
Android
eclipse
androidnotifications
androidnotificationbar