Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
创建自定义大通知
我想创建一个包含一些控件的通知 由于文本和控件在默认通知大小 64dp 下都很小 因此我希望它比默认大小更大 可以创建更大的通知 我认为也可以有自定义布局 但我不知道如何 To be more specific the following
Android
androidlayout
androidnotifications
通过 NavDeepLinkBuilder 的 PendingIntent 发送参数
我在通过电子邮件发送论点时遇到一些困难PendingIntent的通知使用NavDeepLinkBuilder 我能到达目的地Activity通过单击通知来启动 但是Activity s Intent不包含我通过它传递的参数值NavDeep
PendingIntent 不适用于 Android O
我的应用程序中有下载通知 我添加了 取消 按钮NotificationCompat Builder通过致电addAction 方法 但按钮在 Android O 设备上不起作用 当我按 取消 按钮时 什么也没有发生 但按钮在 Android
在flutter中如何清除栏中的通知?
我正在学习 Google 云消息传递和火力基地消息传递 https pub dev packages firebase messaging工作正常 但是当用户不单击通知来打开应用程序 而是通过手动打开应用程序并将其带到前台直接进入应用程序时
flutter
firebasecloudmessaging
androidnotifications
Android N:在更新复选框首选项之前检查 DND 状态是否已更改
我的应用程序将铃声模式设置为静音 但使用 Android N 我得到了java lang SecurityException Not allowed to change Do Not Disturb state 我按照这个步骤操作post
Android:是否可以用数字更新 ImageView/ImageButton 以显示新消息的数量?
在 iOS 中 我们有一个功能 可以通过在图标的右上角显示一个小数字来为用户更新应用程序图标 并添加新的待处理消息 类似地 我想知道我们是否有方法来更新 ImageView ImageButton在android中 这里我不想更新主屏幕上的
Android
androidimageview
androidnotifications
如何实现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
«
1
2
3
4
5
6
7
8
9
»