Sorry, but using this way you will be able to play only audio stream from mp4 file. To have some video displayed on the screen you need to use setDisplay method of Media Player. I can't get it working on emulator. Have anyone any success with this yet?
On 4 дек 2008, 07:41, brian <[email protected]> wrote: > Do this: > > MediaPlayer mp = new MediaPlayer(); > mp.setDataSource(PATH_TO_FILE); > mp.prepare(); > mp.start(); > > Brian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

