android : how can I store an audio file in the application folder
I am using StatusBarNotification in my application. I want to play some particular sound when the notification arrives. 开发者_如何转开发So I planned to store the sound file in the application folder. But I am not sure, where to store this .mp3 file. Is it within the res folder? I and also I want to know how to play this file from the application.
Please help me...
Thank you..
You will want to store this in the /res/raw folder. Take a look at this link: http://developer.android.com/guide/topics/media/index.html
精彩评论