Android Question (SOLVED) Problem whit Default notification sound

Traiser

Member
Licensed User
Longtime User
hi all!
Can i don't show "Default notification sound" in the notification picker?
i have one problem with this sound.. (play the default ringtone)
i use "ShowRingtonePicker" from phone library and i dont found any option for don't show it. (Only for include silence)
In my smartphone in the default picker this option is hidden but if i use ShowRingtonePicker from phone library this option is not hidden.
can you help me for don't show it?


Sorry for my English :)

update: i think that problem is: if i select "Default notification sound" the uri for this selection is: "content://settings/system/ringtone" and not "content://settings/system/notification_sound"

but i need only the don't show this option :)
 
Last edited:

Traiser

Member
Licensed User
Longtime User
I added this code at your code snippet:
B4X:
i.PutExtra("android.intent.extra.ringtone.SHOW_DEFAULT", False)
and now my problem is resolved.

Thanks so much for your help again! :)
 
Upvote 0
Top