title: Access application notification settings programmatically
body: <p>In an Android app, I have a button that I want to have the functionality of opening the App Notification settings (in Android settings).</p>
  
  <p><a href="https://i.stack.imgur.com/oz6Df.png" rel="noreferrer"><img src="https://i.stack.imgur.com/oz6Df.png" alt="Screenshot of Android&#39;s notification settings for the Camera application"></a></p>
  
  <p>I can open the Android settings with this</p>
  
  <pre><code>startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);
  </code></pre>
  
  <p>but I want to open directly on my app notification settings</p>
  
  <p><strong>Alternative</strong></p>
  
  <p>If there is a way to turn the "Block notifications" on and off programmatically that would be ok too.</p>