Hello,

I am trying to play a music file, that exists in sdcard, as follows

MediaPlayer mp = new MediaPlayer(this);
mp.setDataSource("path to file in sdcard");
mp.prepare();
mp.start();

I have also specified the *Write External Storage *permission in my
manifest.xml file.


But......., I am getting the *error (-19,0)* on the line *mp.start();*


I dont know what does it mean.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to