Set a OGG in raw folder as Ringtone/Notification?
Posted
by YaW
on Stack Overflow
See other posts from Stack Overflow
or by YaW
Published on 2010-04-19T06:33:04Z
Indexed on
2010/04/19
6:33 UTC
Read the original article
Hit count: 404
Hi,
I have some ogg audios in my raw folder and I'm trying to set one of them as a Ringtone (or Notification, Alarm... whatever).
I've been looking at the source code of RingDroid and I can see how is this done using the ContentValues and MediaStore, but in all the examples I've seen, the audio files is in the SDCard.
Is it possible to set the ringtone directly from the raw folder? If not, how can I make a copy of the raw file to a folder in the SD?
Thanks in advance.
© Stack Overflow or respective owner