我们如何将Android主屏幕小部件信息(可能是putExtra)传递给Activity。什么特定的方法回调将处理此事件?
Use putIntExtra()
on the Intent
you place in the PendingIntent
.
seems that when I place putIntExtra on the Intent, it doesnt update it properly
Try using FLAG_UPDATE_CURRENT
when you create your PendingIntent
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.