Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: How to open notification sound settings menu in

I am writing an application which uses notifications. I want to offer the user an option to change the default notification sound from the device sound settings menu programmatically. for that i'm using:
startActivityForResult(new Intent(android.provider.Settings.ACTION_SOUND_SETTINGS), 0);
the problem is, that the sound settings menu opens but I can not find a way to actually open the notification sound item.
Is there any way this could be done? Thanks, joel

like image 748
joel b. Avatar asked Dec 18 '25 05:12

joel b.


1 Answers

You have written very correct.

We can open Settings -> Sound and Notification Menu via

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

I am editing my answer, yes we cann open sub menu through the Action which is to be passed in Intent();

like image 118
Kushal Avatar answered Dec 20 '25 18:12

Kushal