To be more specific:
ringtoneUri = Uri.parse(ringtoneUriText);
mRingtone =
mRingToneMgr.getRingtone(mRingToneMgr.getRingtonePosition(ringtoneUri));

where ringtoneUriText is content://drm/audio/2

And then mRingtone.play()

thanks
Rob

On Mon, Jul 6, 2009 at 12:30 AM, Rob Franz <rob.fr...@gmail.com> wrote:

> Hi Marco,Basically supplying the ringtone's URI to the RingtoneManager's
> getRingtone function (returning a Ringtone) and then calling play() to
> what's returned.
>
> Should i be doing it differently?
>
> Thanks
> Rob
>
>
> On Mon, Jul 6, 2009 at 12:25 AM, Marco Nelissen <marc...@android.com>wrote:
>
>>
>> On Sun, Jul 5, 2009 at 8:55 PM, Rob  Franz<rob.fr...@gmail.com> wrote:
>> >
>> > Hi all,
>> > I am trying to play a ringtone that is specified as the Default system
>> > ringtone.  Unfortunately when i get the actual URI I get the above
>> > (content://drm/audio/2) and then when I try to play it, I hear the
>> > fallback ringtone - the one that you'd hear if the default was
>> > unavailable.
>>
>> How are you trying to play it?
>>
>> >>
>>
>

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

Reply via email to