Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何实现Notification中已弃用的方法
我有一个小问题 但不知道如何摆脱这个问题 我创建了一个用于提供通知的类 但这些行被标记为已弃用 Notification notification new Notification icon text time deprecated in
Android
androidnotifications
通知通过旧意图附加
我正在通过以下代码在 BroadcastReceiver 内创建通知 String ns Context NOTIFICATION SERVICE NotificationManager mNotificationManager Notif
Android
androidnotifications
androidpendingintent
androidnotificationbar
如何在 Android 中安排通知
我正在尝试在将来的某个时间设置通知 我有创建通知的代码 但找不到安排通知的选项 我如何安排通知 不适用于奥利奥 编辑 上面的答案都很好 但不考虑用户重启设备的可能性 这会清除 AlarmManager 安排的 PendingIntent 您
Java
Android
Notifications
androidnotifications
如何在 Android Marshmallow 中识别 WhatsApp 通知是来自群组还是个人?
我正在为 WhatsApp 构建一个聊天机器人 并使用 notificationListenerService 来获取通知 到目前为止 Android 9 中一切正常 我能够发送通知 并且还能够识别通知是否来自群组对话 但是当我尝试使用 A
Android
service
androidnotifications
Chatbot
whatsapp
NotificationCompat.Builder() 不接受 Channel Id 作为参数
我知道这个问题之前已经被问过好几次了 但这些解决方案都不适合我 这就是为什么我想再次问这个问题 以下行仅接受NotificationCompat Builder context NotificationCompat Builder noti
Android
androidnotifications
android81oreo
NotificationChannel
构建通知时出错
我正在使用这个教程http www vogella com articles AndroidNotifications article html http www vogella com articles AndroidNotificati
Android
androidnotifications
ListenableWorker 不删除通知图标
我正在使用 ListenableWorker 执行后台任务 另外我希望操作系统了解我的服务重要性 所以我打电话 setForegroundAsync new ForegroundInfo WorkerConstants NOTIFICATI
Android
androidnotifications
androidworkmanager
进度搜索栏通知未显示在 DownloadManager android 中
我正在从 webview 下载文件 但它没有显示类似于以下内容的正在进行的下载通知this https i stack imgur com RW8v6 jpg使用下载管理器时 它只是在后台运行 如何在下载过程中显示状态栏通知 我可以获取下载
Android
androidnotifications
androiddownloadmanager
如何在android上在特定时间发出通知?
我想在特定时间向我的应用程序发出通知 假设每天我都必须在早上 7 点发出通知 即使应用程序已关闭 我怎样才能做到这一点 有教程吗 请注明链接 首先你需要使用广播接收器 并且因为广播接收器只启动很短的时间 来自 android 开发者博客 处
Android
androidnotifications
在状态栏中显示通知文本 - Android
在我的应用程序中 我需要向用户显示通知 以下代码片段非常有效 可以在 Android 设备标题栏中显示图标和内容标题 var notificationManager GetSystemService Context Notification
Android
androidnotifications
googlecloudmessaging
Android,广播可分包数据
我已经实现了一个扩展NotificationListenerService 的类 它可以很好地接收发布的通知 然后我想获取收到的 statusBarNotification 对象并广播它 我会做以下事情 Override public vo
Android
androidintent
androidnotifications
androidbroadcast
NotificationCompat 无法解析为类型
我是 Android 新手 收到错误消息 NotificationCompat 无法解析为类型 MinSDK 9 TargetSDK 18 到目前为止 所有消息来源对于如何解决这个问题都非常模糊 只是简单地注明 更新 JAR 文件 我需要什
Android
Notifications
androidnotifications
androidsupportlibrary
Android:我需要延迟通知
我创建了一个广播接收器来收听android provider Telephony SMS RECEIVED事件并创建自己的通知 当使用回调收到短信时 我还在应用程序中使用相同的接收器来更新活动 问题是短信应用程序通知事件是在我的通知之后调度
Android
androidnotifications
androidbroadcast
广播接收器,在启动时检查复选框首选项状态,然后发送通知
我的问题是 当我尝试在启动时从不同的活动读取复选框首选项状态时 然后发送状态栏通知 然后 当设备启动时 我会弹出强制关闭错误消息 然后当我进入错误日志时 我不明白发生了什么 广播接收器的代码如下所示 Override public void
Java
Android
BroadCastReceiver
androidnotifications
抬头通知 - Android Lollipop
我试图显示通知类型的提示 但我做不到 我尝试过的 final Notification Builder notif new Builder getApplicationContext setContentTitle getString R
Android
android50lollipop
androidnotifications
如何在 Android O 中设置 Firebase 通知 ChannelID?
对于 API 级别 26 我们必须设置一个通道 id 作为参考 我学会了如何在没有 ChannelID 的情况下做到这一点 下面是我的 Firebase 消息传递设置代码 但现在对于新的 Android api 26 级别 Notifica
firebase
firebasecloudmessaging
androidnotifications
android80oreo
NotationListenerService 中的 OnListenerCOnected 未被调用
我的应用程序仅不适用于华为 但在其他手机上可以 为什么 我的 MainActivity 中有该代码 package pl ct8 wieprz wieprz watch public class MainActivity extends A
Android
service
androidnotifications
notificationlistener
如何处理通知中混合的 RTL 和 LTR 语言?
背景 Android 4 3增加了大量对RTL 从右到左 语言的支持 例如希伯来语和阿拉伯语 问题 即使有 textDirection layoutDirection 和 gravity 我也找不到通知生成器的等效项 甚至在兼容性库中也找不
传入通知的增强意图服务警告
收到通知后 我的日志中出现两个错误 EnhancedIntentService Service took too long to process intent com google android c2dm intent RECEIVE A
Android
androidnotifications
IntentService
无法在 Android 8 中禁用通知振动
我试着禁用振动显示通知时 Func public static Notification buildNotifForUploaderService Context ctx String title String message Notifi
Android
androidnotifications
«
1 ...
3
4
5
6
7
8
9
»