本文介绍了Android Lollipop应用程式通知设定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Android Lollipop中,长按通知时,它可以让您访问该通知应用程序的设置,例如优先级,或者只是阻止它。我有意图使用这些设置吗?
In Android Lollipop, when you long press a Notification, it gives you access to settings for that Notification's app, such as priority, or simply blocking it. Is there an intent that I can use to access those settings?
推荐答案在这里找到答案- plus.google/+CyrilMottier/posts/YY6tbJrJMra
您需要将此添加到要附加到该设置图标的活动中
You need to add this to the activity you want to be attached to that settings icon
<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.NOTIFICATION_PREFERENCES" /> </intent-filter>
更多推荐
Android Lollipop应用程式通知设定
发布评论