SyntaxFix
Write A Post
Hire A Developer
Questions
Use the code below it worked for me.
MediaPlayer mp = new MediaPlayer(); mp.setDataSource("/mnt/sdcard/yourdirectory/youraudiofile.mp3"); mp.prepare(); mp.start();