on android 5.0 there option through settings -> sound & notification -> app notification -> calendar (for example)
go directly notification settings of app.
know it's flag in manifest described in dev.bytes talk.
how can achieved, flag used?
here screenshot more clarification:
you need add intent
category notification.intent_category_notification_preferences
activity
you'd launch through androidmanifest
. simple example like:
<activity android:name="com.example.packagename.yoursettingsactivity" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.notification_preferences" /> </intent-filter> </activity>
for more information, refer settings app , notificationapplist
, appnotificationsettings
fragments.
results
Comments
Post a Comment