1

What do I have to specify to make the Settings app show this on my app (must be something in the manifest I believe):

enter image description here

Alex Newman
  • 1,369
  • 12
  • 34
  • 1
    https://stackoverflow.com/questions/41105494/how-can-i-create-a-settings-button-in-androids-app-info-page – Mike M. Aug 13 '17 at 14:45
  • 1
    You may find answer here https://stackoverflow.com/questions/32366649/any-way-to-link-to-the-android-notification-settings-for-my-app – smora Aug 13 '17 at 14:54

1 Answers1

0

As I understood from your question, You want to start settings activity form the icon click.

for click event, start settings activity

startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);

Override the OnACtivityResult Method and you can get the Settings action there,

For type of settings refer the bellow documentation. https://developer.android.com/reference/android/provider/Settings.html

Cheers!! Hope this will help.

KZoNE
  • 1,249
  • 1
  • 16
  • 27
  • Nope. Sorry if I wasn't clear enough. I want my app to have that Gear icon in the Notifications section in the stock Settings app. The screenshot is attached. – Alex Newman Aug 13 '17 at 14:42