[android-developers] Re: File permission about MediaPlayer

2008-11-16 Thread Gery
Oops.. so it is. Thanks a lot, Dave, gonna check it on a G1 phone.. On 11月15日, 上午12时41分, Dave Sparks [EMAIL PROTECTED] wrote: Windows Media is not supported in the emulator due to licensing issues. The T-Mobile G1 supports WMA/WMV because that device is specifically licensed to use the

[android-developers] Re: File permission about MediaPlayer

2008-11-14 Thread [EMAIL PROTECTED]
Due to the Android security model, MediaPlayer does not have root access rights. It can access the sdcard, but it can't access private app directories. Your app can explicitly grant MediaPlayer temporary access to secure files by opening the file and passing the file descriptor to MediaPlayer

[android-developers] Re: File permission about MediaPlayer

2008-11-14 Thread Gery
Hi David, Regarding this mediaplayer access right thing, may you help take a look at my issue? I am writing an application which uses MediaPlayer to play video, but I always encountered this issue: java.io.IOException: Prepare failed.: status=0xFFFC 1. I tried to put the wmv file on sdcard