Android Question Sound Pitcker with a specific item Selected

FabioG

Active Member
Licensed User
Longtime User
Hello,

I need help to open this sound Pitcker with a specific item selected

B4X:
Sub ShowPickerDim i AsIntent
 i.Initialize("android.intent.action.RINGTONE_PICKER", "")
 i.PutExtra("android.intent.extra.ringtone.TYPE", 1)
 StartActivityForResult(i)
End Sub

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

FabioG

Active Member
Licensed User
Longtime User
thanks for your reply

I tired this, but don't work
any idea ?

B4X:
   Dim i As Intent
   i.Initialize("android.intent.action.RINGTONE_PICKER", "")
   i.PutExtra("android.intent.extra.ringtone.TYPE", 2)
   i.PutExtra("DEFAULT_RINGTONE_URI",SoundUri)
   StartActivityForResult(i)

SoundUri is the variable contain the URI of the sound
 
Upvote 0
Top