Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Android:Notification.DEFAULT_VIBRATE是否需要振动权限?
有时我读到 notification defaults Notification DEFAULT VIBRATE and notification defaults Notification DEFAULT ALL 需要振动权限
Java
Android
androidnotifications
vibration
androidvibration
在调试模式下运行时通知侦听器服务未启动
我正在使用NotificationListenerService构建一个应用程序 但当我在调试模式下运行应用程序时 服务始终不会启动 我将代码缩减为以下内容 我的活动 class MainActivity AppCompatActivity
Android
androidservice
androidnotifications
带有“null”PendingIntent 的通知
我正在尝试在 Android 中实现通知 现在我有一个问题 我不想再有一个PendingIntent该用户将打开任何Activity 我怎样才能做到这一点 PendingIntent contentIntent PendingIntent
androidnotifications
androidpendingintent
Urban Airship:默认状态栏通知的自定义图标
Urban Airship 建议创建自定义通知CustomPushNotificationBuilder如果您想对状态栏通知进行任何修改 包括简单地更改图标 不幸的是 使用RemoteView因为通知会带来许多与定制制造商和 或特定于平台的
Android
urbanairshipcom
androidnotifications
androidnotificationbar
Android TV 上不会出现通知
我正在 Android TV 上玩通知 不过 我无法在屏幕上显示通知 我正在使用 Android 6 0 上的 Nexus 播放器 当我在手机上运行此代码时 会出现通知 但在电视上 不会出现通知 我错过了什么吗 Override publi
Android
androidnotifications
androidtv
Android 中自定义通知的确切时间
我正在开发一个用于咨询服务的 Android 应用程序 客户可以在应用程序中查看他们的预约 例如 下次预约 2016 年 12 月 31 日 上午 10 00 现在我需要做的是 用户将收到 2 条通知 有关预约的提醒 7 天前一次 3 天前
Android
androidservice
AlarmManager
androidnotifications
如何设置通知在点击时自行清除?
如何设置我的通知在点击时自行清除 我已经设置了autoCancel true 但这不起作用 My code Notification n new Notification Builder this setContentTitle Updat
Android
androidnotifications
使用 Android L Notification.MediaStyle 添加终止播放按钮
我想使用新的 Android L MediaStyle 模板创建媒体播放通知 现在 我成功地完成了上一个 播放 暂停 下一个等操作 通过使用addAction 但我找不到像中那样添加 关闭 按钮的方法Android 通知文档 http de
Android
androidmediaplayer
androidnotifications
android50lollipop
从 Android 通知中的 URL 加载图像
在我的 Android 应用程序中 我想动态设置将从 URL 加载的通知图标 为此 我使用了setLargeIcon中的NotificationBuilder的属性receiver 我参考了很多链接并尝试了各种解决方案 但无法获得所需的输出
Flutter:即使应用程序关闭也推送通知
我用 flutter 构建了一个应用程序 它的作用就像一个提醒 即使应用程序关闭 如何向用户显示通知 为了提醒我会推荐Flutter 本地通知插件 https pub dev packages flutter local notificat
可以制作一个不调用Intent的Android通知吗? [关闭]
就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
Android
androidnotifications
服务器中的 Firebase 令牌管理
我对 firebase 和 android 通知还是很陌生 我希望能够根据某些规则向单个用户发送通知 到目前为止我读到的是可以通过以下方式生成令牌 FirebaseInstanceId getInstance getToken 然后 令牌在
Android
firebase
androidnotifications
firebasecloudmessaging
内容变更推送通知
假设我有一个 Android 应用程序 它仅使用从随机 REST API 获取的内容构建 ListView 想象一下 现在我需要在 API 上有新内容时发送推送通知 最简单的方法是什么 我对 Android 上的推送通知过程有点困惑 我查看
Android
firebase
androidnotifications
显示默认展开的 Android 通知操作按钮
有没有办法在默认展开的通知中显示操作按钮 我使用持续通知来控制应用程序中的训练过程 我希望在通知区域中出现通知后立即显示 停止 和 暂停 等控制按钮 您无法展开通知 唯一的解决方案是 设置 优先级最大 然后将其展开到通知列表的顶部 这也取决
Android
Notifications
androidnotifications
notificationaction
Android 推荐且可靠的 API 用于定期后台工作?
我一直在使用 WorkManager 为我的应用程序创建通知 就我的目的而言 我认为PeriodicWorkRequest是最合适的 但经过一些测试和在线阅读后 它似乎非常不可靠 使用最小间隔 15 分钟 并关闭应用程序 该工作人员醒来 5
Android
androidnotifications
androidworkmanager
androidbackground
NotificationCompat v7 不适用于 Oreo 及更高版本的操作系统
我遇到了麻烦NotificationCompat v7 on android 8 9 在所有 Android 版本上显示通知的最佳方式是什么 调试日志 android app RemoteServiceException Bad notif
Java
Android
androidlayout
Notifications
androidnotifications
无法展开 RemoteView
我尝试创建自定义通知 但出现以下异常 FATAL EXCEPTION main android app RemoteServiceException Bad notification posted from package com my a
Android
Exception
androidnotifications
如何在 android O 的系统设置中对通知渠道进行排序
我有预设的通知渠道顺序 可以更改 如何更改通知渠道的顺序 我尝试按channel id和channel name排序 但不起作用 我的解决方案有错误 我尝试在频道 ID 的开头添加频道数以进行排序 所以我有这个 56 server chan
Android
androidnotifications
自定义通知声音未播放
我正在尝试在状态栏通知上播放自定义声音 这 mp3文件位于res raw 但是当我通知用户时 声音不会播放 我尝试过使用 MediaPlayer 它可以工作 但我不想让它与 MediaPlayer 一起播放 这是我的方法 public vo
Android
androidnotifications
androidnotificationbar
如何为此 Firebase Android 项目添加“大文本”或“收件箱样式”通知?
我正在尝试从 Firebase 控制台发送推送通知 目前我可以从 Firebase 控制台向我的虚拟设备发送消息 但如果消息很长 则不会完全显示在通知栏中 这是 Firebasemessagingservice 的代码 import and
1
2
3
4
5
6
...8
»