Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
每天12小时重复通知
我想每天 12 点重复我的通知 但我的代码不起作用 我在 OnCreate 的 MainActivity 中启动警报管理器 如下所示 protected void onCreate Bundle savedInstanceState sup
Android
AlarmManager
androidnotifications
从服务中删除持续通知
我有一项在启动时创建通知的服务 然后 ondestroy 我希望将其删除 我只是使用 cancel NOTIFICATION ID 当它是正常通知时它效果很好 但当我使用正在进行的事件时它不会取消它 我确实读到过一些关于如果 android
Java
Android
androidservice
androidnotifications
自定义Android通知声音
我正在尝试在我的应用程序中实现自定义通知声音 我编写了以下代码 但应用程序仅播放默认声音 而不播放我在原始文件夹中添加的自定义声音 收到通知后 日志甚至不会抛出任何错误或异常来说明为什么不播放自定义声音 我尝试在网上搜索并尝试采用不同的方法
如何与 AlarmManager 结合启动通知?
我正在尝试弄清楚应该如何启动通知 创建通知不是我所要求的 而是一种在后台启动它的方法 这样它就不引人注目 并且用户可以做他们正在做的任何事情 它是日历 准确地说是提醒 同样重要的是要注意我正在使用AlarmManager 我应该使用什么方法
Android
AlarmManager
androidnotifications
reminders
Android 通知大图像不起作用
我正在创建这样的通知 Intent intent new Intent this OfferNotification class PendingIntent pIntent PendingIntent getActivity this 0
Android
androidnotifications
错误通知:无法展开 RemoteViews:StatusBarNotification。在 Android 牛轧糖上
I use OneSignal SDK显示通知 我这样做是在OneSignalPushService java OneSignalPushService java public class OneSignalPushService exte
Java
Android
androidnotifications
onesignal
android70nougat
没有“提醒”的通知
我正在尝试创建一个具有高优先级的通知 聊天应用程序 但我的客户要求它不会有 抬头 视图 我尝试过创建一个空布局RemoteViews设置为Notification headsUpContentView但还是什么都没有 这是我尝试过的 Int
Android
androidnotifications
headsupnotifications
Android:有没有办法禁用通知捆绑?
我有一个应用程序 用户可以在其中收到有关他们需要做的事情的多个通知 用户可以选择使其中一些通知持久化 我通过调用NotificationCompat Builder setOngoing 来实现 至少在我的 Android 版本 Nouga
Android
androidnotifications
单击通知时如何打开“活动”
我需要使用带有点击事件的通知 我有通知方法 但此方法不会打开我的活动 My code private void sendNotification String msg NotificationCompat Builder mBuilder
Java
Android
androidnotifications
androidnotificationbar
Oreo - 前台服务不显示前台通知
到目前为止 我已经调整了我的代码以使用ContextCompat startForegroundService context intentService 开始我的服务 这样 它就可以在 android 我仍然看到了差异 在 android
Android
androidnotifications
android80oreo
foregroundservice
AndroidNotification.Builder与NotificationCompat.Builder[重复]
这个问题在这里已经有答案了 我看到的几乎所有 Android 通知示例代码似乎都使用了NotificationCompat 我已经使用Notification Builder编写了自己的代码 我不清楚使用NotificationCompat
Android
Cordova
androidnotifications
如何在点击推送通知时打开Fragment
我的 Firebasemessagingservice 类代码用于传递意图 private void showNotification String message Intent intent new Intent this DrawerA
Android
androidfragments
androidnotifications
创建NotificationChannel会抛出IllegalArgumentException
该应用程序适用于以前版本的 Android 但不适用于 Oreo 它是WebView with Notifications 我一直在研究这个错误 但没有发现任何类似的东西 堆栈跟踪 E AndroidRuntime FATAL EXCEPT
Android
androidnotifications
IllegalArgumentException
Android - 将用户发送到 Activity 的 GCM 推送通知不会导致 onCreate 调用
我能够创建推送通知 并将用户发送到我想要的任何 Activity 但我注意到每当用户登陆该 Activity 时 onCreate 函数都不会被调用 应该是这样吗 如何设置才能调用Activity的onCreate 这是我的活动 publi
Android
pushnotification
googlecloudmessaging
androidnotifications
Android 10 当我们在另一个应用程序中时,来电通知就像什么应用程序一样
一旦我们收到 Android 10 后台启动活动受限的 FCM 推送通知消息 当我们在另一个应用程序中时 需要像 WhatsApp 和 Skype 通知来电这样的解决方案 int NOTIFICATIONID 1234 Uri sound
Android
firebasecloudmessaging
androidnotifications
whatsapp
MediaStyle 通知:播放/暂停按钮不响应单击
在我的应用程序中 当用户选择要播放的音频文件时 当文件准备好并且播放开始时 会成功显示 MediaStyle 通知 元数据信息已更新 标题 图标等 但是 1 Play Pause button does not respond to cli
Android
Notifications
androidnotifications
mediabrowserservice
在android中显示像gmail一样的弹出窗口[关闭]
就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
Android
androidnotifications
问:更改 Android Studio 中的通知图标
我配置了应用程序图标 图 1 但通知图标 通过 Firebase 发送的通知 显示灰色矩形 图 2 通过 Android Studio 2 3 或通过脚本更改通知图标图像 图 2 的过程是什么 Manifest
Android
firebase
firebasecloudmessaging
androidnotifications
Android O - 关闭通知通道然后再打开,重要性级别始终重置为中
在Android O中 我们可以拥有不同优先级 重要性 的不同通知渠道 在我的代码中 我将频道重要性级别设置为 紧急 即 发出声音并在屏幕上弹出 但是 当我进入通知设置 关闭频道通知 然后将其打开时 重要性级别将始终重置为中 无声音 这是默
Android
androidnotifications
android80oreo
Android 上的 FCM 通知可以覆盖之前的通知吗?
我正在使用 FCM 向 Android 设备发送通知 当应用程序处于后台时 如果我发送 10 个通知 设备将在通知栏上显示 10 个条目 我希望 FCM 在通知栏上只创建一个条目 即新的条目将覆盖旧的条目 我没有找到可以设置这个的键http
«
1
2
3
4
5
6
...9
»