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
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();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With