You will first have to copy it to the ringtones folder in your SD  
Card. Once that is done, you can use the uri of this ringtone to set  
it as the user's ringtone. Thats how Ringdroid does it. You can check  
out the ringdroid source here http://code.google.com/p/ringdroid/



On 11-Jun-09, at 8:31 AM, Josh wrote:

>
> I just finished re reading
> http://developer.android.com/reference/android/media/RingtoneManager.html#setActualDefaultRingtoneUri(android.content.Context,%20int,%20android.net.Uri)
> and i still don't get it. am I missing something?
>
> On Jun 10, 1:33 pm, Josh <[email protected]> wrote:
>> Ive been through all the books I purchased on android and the sdk and
>> I just dont get it. can anyone tell me how I can set an mp3 file that
>> is in the raw folder of my app as a ringtone?
> >


--~--~---------~--~----~------------~-------~--~----~
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