I want to set selected ringtone as device's default ringtone.

As per my findings, we can use
ContentUris.withAppendedId
(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,id)  method to append the
selected ringtone id to content uri and then saving it in database
through ContentValues and System settings.

But i can't figure out what id to append.The id seems to be the id of
elements in hash table as MediaStore saves the audio in such form. Is
it so..?..How can i get the Id of hash table elements?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to