What you need to do is pass in a FileDescriptor to the setDataSource() method of MediaPlayer instead of a String file path. This is to avoid the permissions problems that Marco talks about earlier in the thread.
String fileNameStr = getResources().getString(R.string.tmpfile); FileInputStream fis = openFileInput(fileNameStr); myMediaplayer.setDataSource(fis.getFD()); On Jun 25, 1:21 pm, Ericase Jang <[email protected]> wrote: > Hi, I got the same problem. > > Has anyone already solved it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

