Why doesn’t this work?
Uri ringtoneuri=Uri.parse("/sdcard/myapp/customsounds/test.3gpp");
RingtoneManager.setActualDefaultRingtoneUri(this,
RingtoneManager.TYPE_RINGTONE, ringtoneuri);
When I run this my ringtone ends up getting set to the default. I
know the file is accessible because right after the above code I have
this and the ringtone plays.
RingtoneManager.getRingtone(this, ringtoneuri).play()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---