You can't upload your audio file into res/raw.
You can place an audio file in the res/raw folder when you compile
your code and aapt will compile it into the APK along with the code
and other resources. You can then play it by using the MediaPlayer
with code roughly like this:
MediaPlayer mp =
thanks for the reply i will try that thing
On Tue, Feb 10, 2009 at 11:15 PM, Dave Sparks davidspa...@android.comwrote:
You can't upload your audio file into res/raw.
You can place an audio file in the res/raw folder when you compile
your code and aapt will compile it into the APK along with
2 matches
Mail list logo