How can notifications sounds play from application resources?
I have used the following code: the mp3
is saved in the mobile sdcard.
notif开发者_开发技巧ication.sound = Uri.parse("file:///sdcard/File/sdcard/introduction_file.mp3");
do you know how a mp3
file can be played as an application recources and not from the sdcard?
thank you
See android guide for playing from raw resource.
精彩评论