Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
没有“提醒”的通知
我正在尝试创建一个具有高优先级的通知 聊天应用程序 但我的客户要求它不会有 抬头 视图 我尝试过创建一个空布局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
我搞砸了我的 System_server 服务吗?
我的手机正在产生不间断的 Log d 输出 以下内容不断重复每秒1200次 04 25 15 58 04 883 1542 5012 D NetworkStatsCollection getHistory mUID 10266 isVide
Android
logging
AlarmManager
androidnotifications
由 java.lang.SecurityException 引起:UID 10243 无权 content://media/external/audio/media/5927 [user 0]
我是 Android 开发新手 正在尝试调试我们的应用程序崩溃的原因 当我们尝试向 Android 设备发送推送通知时 我们遇到了崩溃 这是我需要解决的入职问题 我不知道是什么导致了这个问题 该问题可以在 Android N O 和 P 中
Android
androidnotifications
crashreports
从 BroadcastReceiver 调用时 startActivity 不起作用
我有一个通知 当我选择时 它会发送一个Broadcast to a BroadcastReceiver用一个PendingIntent 在里面onReceive我开始一个新的Activity 但是 如果我从最近打开的应用程序中删除我的应用程
Android
androidactivity
androidnotifications
androidbroadcast
如何对通知进行android单元测试?
我有课handleFirebaseMessages 它包含以下功能onMessageReceived 该函数负责接收数据并创建通知 onMessageReceived 接收数据在RemoteMessages目的 我正在尝试为这个函数编写一个
Android
unittesting
Mockito
androidnotifications
Android 在通知单击时打开特定选项卡片段
我有一个使用操作栏选项卡的 Android 应用程序 还有一个通知系统 我想在单击通知时直接打开特定选项卡 如何做到这一点 因为通知挂起意图只能打开活动 而我的主要活动包含 3 个选项卡的 3 个片段 以下是选项卡主要活动的代码 publi
Android
androidfragments
androidactionbar
androidnotifications
如何在应用程序清单中指定默认通知通道 ID?
Android Oreo 引入了通知通道 但有关如何在应用程序清单中指定默认通知通道的文档似乎不完整 甚至不存在 如何在应用程序清单中指定默认通知通道 ID 使用标准通知通道无法从清单定义默认通道 ID 它仅适用于 Firebase 通知
Android
androidnotifications
«
1
2
3
4
5
6
7
...9
»