Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何处理通知中混合的 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
IntentService 创建的通知总是使用错误的 Intent
Problem When the user presses Send Button 1 scroll down to see the construction of the app a new Notification http devel
在 Android Wear 中显示持续通知
我一直在尝试 Android Wear 并制作一些虚拟应用程序 我注意到 Android Wear 似乎没有显示正在进行的通知 即带有setOngoing true 有什么办法可以在 Wear 上显示这些通知吗 巴克赛德的答案是正确的 我最
Android
androidnotifications
wearos
即使应用程序位于前台,如何让 FCM 显示通知?
如果设备上的通知不是数据消息 则让 FCM 处理通知 即使应用程序位于前台 如何强制 Android 使用 FCM 显示通知 我不想构建自己的通知 我向我的应用程序发送两种类型的消息 数据消息和普通通知消息 数据消息的处理在onMessag
Android
firebasecloudmessaging
androidnotifications
Android Gcm 接收器/Gcm 侦听器服务在接收时强制应用程序到前台
我在 Android 最低 SDK 15 上实现 GCM 时遇到了问题 我完全能够接收来自 GCM 的推送通知 并且我的GcmListenerService实施已发挥作用onMessageReceived 打回来 但我的问题是 每当一个或另
Android
googlecloudmessaging
AndroidManifest
androidnotifications
Android 多行通知(如 Gmail 应用)
我正在尝试创建一个多行通知 就像 Gmail 应用程序那样 如下图所示 5 个通知分组在一个通知下 我尝试过各种示例 但似乎只能创建单个通知 例如 public void createSingleNotification String ti
Android
androidnotifications
通知中的音乐播放器控制
如何在 Android 中设置带有播放 暂停 下一个和上一个按钮的通知 我是 Android 新手 也是堆栈溢出新手 所以请耐心听我说 我设置了歌曲开始播放时的通知 如下所示 SuppressLint NewApi public void
Android
androidmediaplayer
androidnotifications
androidbroadcast
如何正确更新 API 11 后的通知?
Before Notification Builder http developer android com reference android app Notification Builder html应运而生更新方式 http deve
Android
androidnotifications
android42jellybean
如何通过单击通知来关闭我的应用程序的任何活动?
当我单击通知时 应用以下操作 intent setFlags Intent FLAG ACTIVITY NEW TASK Intent FLAG ACTIVITY CLEAR TOP startActivity intent 在应用程序的所
如何为自定义 Android 通知添加垂直线到 RemoteView?
我正在努力向自定义 Android 通知添加垂直线 我尝试将这样的视图添加到我的相对布局中
Android
androidlayout
View
androidnotifications
remoteview
PendingIntent.FLAG_IMMUTABLE 可以替换 PendingIntent.FLAG_UPDATE_CURRENT 吗?
我正在处理PendingIntent with notification 在我的项目中 我一直在使用PendingIntent FLAG UPDATE CURRENT在一些代码中 它的定义如下 Flag表示如果所描述的PendingInte
Android
androidnotifications
androidpendingintent
向上导航未启动父活动
我有两项活动A and B其中 A 是 B 的父级 现在我显示一个启动 B 的通知 当我点击该通知时 B 就会启动 然后我点击up按钮 当活动 A 位于后台堆栈时 它可以正常工作 但否则应用程序只是关闭并且不会启动活动 A 我的设置 我已在
Android
androidintent
androidactivity
androidnotifications
有什么办法可以链接到我的应用程序的 Android 通知设置吗?
有什么方法可以启动意图来访问我的应用程序的 Android 通知设置屏幕 如下图所示 或者有一种简单的方法可以制作一个只需单击即可引导至此处的 PreferenceScreen 项目 以下内容适用于 Android 5 0 Lollipop
Android
androidnotifications
android60marshmallow
Android 中如何实现通知功能?
我正在 Android 上做一个帮助台应用程序 我想实现未读票证的通知 客户建议或投诉 在此应用程序的 iPhone 版本中 即使该应用程序未在应用程序图标本身上打开未读票据计数器 在 Android 中是否有可能 如果是这样 请帮助我像
Android
androidnotifications
两个或多个带进度的前台通知在更新其进度时相互替换
我有一项服务将在前台运行上传任务 然后在通知中显示进度 由于用户可能会使用不同的 id 请求多次上传 因此将运行两个或多个前台服务 一切正常 但我想要的是使用此代码显示所有任务的通知和进度 NotificationCompat Builde
Android
androidnotifications
收到通知后重新启动应用程序
我开发了一个具有从服务器接收通知功能的应用程序 问题是 当我点击收到的通知时 打开我的应用程序本身的新实例 这个行为没问题 如果我的应用程序不在前台 但如果是 并且我尝试打开通知 则会创建应用程序的新实例 从而与之前打开的应用程序实例重叠
Android
androidnotifications
Android 通知与 DecoratedCustomViewStyle
我正在尝试使用自定义布局在 Android 7 上创建通知 但我想使用 v7 支持库中的 DecoratedCustomView 样式 https developer android com reference android suppor
Android
androidnotifications
androidappcompat
android70nougat
如何使用 Firebase 将多个通知折叠为单个通知?
我在 Firebase Cloud Functions 中有一个函数 用于向我的应用程序中的特定用户发送通知 并且具有notificationContent下面的代码 const notificationContent notificati
Android
nodejs
firebase
firebasecloudmessaging
androidnotifications
«
1 ...
3
4
5
6
7
8
9
»