T Traiser Member Licensed User Longtime User Apr 27, 2014 #1 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: Apr 27, 2014
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
Erel B4X founder Staff member Licensed User Longtime User Apr 28, 2014 #2 Ringtone picker without the default sound: http://www.b4x.com/android/forum/threads/using-startactivityforresult-with-javaobject.40374/ Upvote 0
Ringtone picker without the default sound: http://www.b4x.com/android/forum/threads/using-startactivityforresult-with-javaobject.40374/
T Traiser Member Licensed User Longtime User Apr 29, 2014 #3 I added this code at your code snippet: Code: Copy i.PutExtra("android.intent.extra.ringtone.SHOW_DEFAULT", False) and now my problem is resolved. Thanks so much for your help again! Upvote 0
I added this code at your code snippet: Code: Copy i.PutExtra("android.intent.extra.ringtone.SHOW_DEFAULT", False) and now my problem is resolved. Thanks so much for your help again!