my code work fine but the default notification sound is wrong (call ringtone)
First voice of select list of ShowRingtonePicker is "default ringer" and not "default notification sound"
uri of "default ringer" is "content://settings/system/ringtone" and not "content://settings/system/notification_sound"
I done something wrong?
B4X:
Sub Process_Globals
Dim RM As RingtoneManager
End Sub
Sub btnoti_Click
Dim uri As String
uri = RM.GetDefault(RM.TYPE_NOTIFICATION)
RM.ShowRingtonePicker("RM",RM.TYPE_NOTIFICATION,False,uri)
End Sub
uri of "default ringer" is "content://settings/system/ringtone" and not "content://settings/system/notification_sound"
I done something wrong?