Jomia
Jomia

Reputation: 3404

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..

Upvotes: 2

Views: 3622

Answers (1)

hooked82
hooked82

Reputation: 6376

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

Upvotes: 3

Related Questions