腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(6653)
视频
沙龙
1
回答
Android
PendingIntent.getBroadCast
无效
、
、
R.string.receiver_notification_media_change)); PendingIntent pendingIntentNext =
PendingIntent.getBroadcast
R.string.receiver_notification_media_change)); PendingIntent pendingInte
浏览 2
提问于2015-05-28
得票数 0
回答已采纳
1
回答
PendingIntent.getBroadcast
()从不返回null
、
我使用
PendingIntent.getBroadcast
()时使用的参数与调用它时使用的参数完全相同,但是它从不返回null。AnotherObject.SOMETHING, "string"); long first = SystemClock.elapsedRealtime() +
浏览 2
提问于2011-09-02
得票数 1
回答已采纳
1
回答
意图附加在onReceive of BroadcastReceiver中为空
、
、
、
intent.putExtra(KEY_ALARM, alarm); return
PendingIntent.getBroadcast
浏览 2
提问于2017-11-06
得票数 9
1
回答
Widget和多个待定意图的Android问题
、
、
Globals.EXTRA_PLAYBACK_ACTION, Globals.PlaybackActions.PLAY); pendingIntentNext =
PendingIntent.getBroadcast
(context, 0, intentNext, 0); pendingIntentStop =
浏览 2
提问于2014-10-28
得票数 2
回答已采纳
1
回答
PendingIntent.getBroadcast
皮棉警告
、
、
、
关于使用
PendingIntent.getBroadcast
作为通知的内容意图,有一个新的警告: builder.setContentIntent(
PendingIntent.getBroadcast
(
浏览 0
提问于2021-05-10
得票数 2
回答已采纳
1
回答
带有pendingIntents的Android SendMultipartTextMessage,所有部件的附加值都相同
、
、
、
MessagePartText", parts[i]); PendingIntent pi =
PendingIntent.GetBroadcast
浏览 1
提问于2015-05-14
得票数 1
1
回答
Android:如何从预定的警报中启动服务?
、
、
、
timealarmIntent =
PendingIntent.getBroadcast
浏览 1
提问于2014-01-25
得票数 1
回答已采纳
1
回答
PendingIntent.getBroadcast
返回现有的PendingIntent
但是
PendingIntent.getBroadcast
()总是返回第一个意图(因此PendingIntent调用的BroadcastReceiver总是认为单击了第一个声明的按钮"no“),这很可能是由于缺少了标志event.getEventID());PendingIntent pendingNoIntent =
PendingIntent.getBroadcast
event.getEventID()); buttonYesRe
浏览 3
提问于2015-01-05
得票数 0
1
回答
PendingIntent.getBroadcast
()安全问题?
、
、
我在看 for
PendingIntent.getBroadcast
(Context, int, Intent, int),它提到.
浏览 3
提问于2016-05-02
得票数 3
1
回答
如何区分在通知中单击了哪个操作?
、
、
、
、
putExtra("TomaID", tomaID) val takeShotPendingIntent =
PendingIntent.getBroadcast
putExtra("TomaID", tomaID) val skipShotPendingIntent =
PendingIntent.getBr
浏览 3
提问于2019-07-22
得票数 1
回答已采纳
1
回答
Intent的标志和
PendingIntent.getBroadcast
、
仔细查看android源代码,似乎无法将标志设置为将通过以下方式触发的意图:下面是Android的源代码:if (type
浏览 2
提问于2011-12-21
得票数 1
回答已采纳
1
回答
PendingIntent.getBroadcast
()和AlarmManager的权限
Context.ALARM_SERVICE);PendingIntent pendingIntent =
PendingIntent.getBroadcast
浏览 6
提问于2011-10-14
得票数 1
回答已采纳
1
回答
无法解决
PendingIntent.getBroadcast
问题
、
WiddleWidget.class); PendingIntent pi = new
PendingIntent.getBroadcast
浏览 1
提问于2014-10-28
得票数 4
回答已采纳
1
回答
如何使用相同的接收器类和相同的函数设置多个告警?
、
、
、
intent = new Intent(context, notification_receiver.class); PendingIntent pendingintent =
PendingIntent.getBroadcast
浏览 1
提问于2017-09-02
得票数 0
1
回答
向广播接收器发送带有PendingIntent的捆绑包时出现问题,数据丢失
、
、
intent.putExtra("teststring","hello, passed string in Extra"); PendingIntent alarmIntent =
PendingIntent.getBroadcast
浏览 2
提问于2010-09-17
得票数 13
1
回答
Android一条龙通知
、
、
、
我正在创建一个需要多个通知的应用程序,就像在图片上显示的那样。 ? 问题是我不知道该怎么做。使用不同的notif。IDs似乎也没什么帮助。是否需要为每个通知创建不同的通道?
浏览 19
提问于2020-06-19
得票数 0
回答已采纳
1
回答
在MainActivity和BroadcastReceiver之间使用SharedPreferences
我想做一个d day的小工具。在MainActivity中,我像这样使用SharedPreferences int startDay; int startYear; long days; int countNumber; EditText txtview;
浏览 3
提问于2014-02-20
得票数 0
1
回答
setActionButton只接受第一个pendingIntent
、
Intent(mContext, ShareBroadcastReceiver.class); return
PendingIntent.getBroadcast
浏览 1
提问于2016-03-14
得票数 0
1
回答
使用PendingIntent更新发送的失败消息的状态
、
、
、
、
messageRepository, threadRepository); this.sentPI =
PendingIntent.getBroadcast
浏览 2
提问于2015-01-22
得票数 1
回答已采纳
1
回答
BroadcastReceiver不会被AlarmManager解雇
、
、
、
下面是我的代码,有什么问题吗?如果我查看日志,就不会有AlarmReceiver类的开始。因此不会向用户发送任何通知。我尝试了每一分钟循环,但仍然什么也没有发生。我做错什么了?public void setRepeatingAlarm(int hour, int min) Intent myIntent = new Intent(this , AlarmReceiver.class); PendingI
浏览 1
提问于2015-09-10
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
对象存储
云直播
腾讯会议
活动推荐
运营活动
广告
关闭
领券