Dear Turk ,
if you just want to play a video on android emulator these are the
steps
go to this location
/development/samples/ApiDemos/src/com/example/android/apis/media/
Edit MediaPlayerDemo_Video.java
path = "/sdcard/Yourfilename"; //add your file
name here
Save and quit
hi Girish
I am working on android ported on beagle. While playing video from
media player it is not able to draw anything & giving error going out
of memory . About 25 MB memory is still free. Can u tell me how much
memory is required by media player to play video
thanks
Mangesh
On Dec 3, 4:27
Thanks for the help, I got as far as going to the
MediaPLayerDemo_Video.java
but didn't know which path to edit; then didn't know how run make
command so I pressed run; to get emulator; that's is as far as I got
any help please?
Sorry for the silly questions like I said I'm new :):)
Kind regar
Turk,
Which OS you are using ? I use ubuntu OS. If you have the source code
then you need to build it using make command or using eclipse IDE
For example change the path to path = "/sdcard/test.3gp"
First try executing Helloworld program as is given in this link. Then
you can try out for pl
Hi Girish
I want to a audio.I go to this position
/development/samples/ApiDemos/src/com/example/android/apis/media/
Edit MediaPlayerDemo_Audio.java
path="/home/huang/sdcard/onelove.mp3"
then save and re-install,but when I go to apidemos ->media- >mediaplayer ->
play audio from local fi
It seems like you're trying to play the file from your workstation. I
assume you are testing in the emulator. If so, you need to be aware
that the emulator has its own file system and it cannot directly
access your workstation files. Instead, it mounts a file that contains
an image of a FAT file s
Hi ,Dave Sparks.
Thanks for your help,Now the solution you give works well.And the problem
has already solved.I find that when I pass the path to the media player,what
I use is like this-setDataSource("/home/huang/sdcard/onelove.mp3"),but not
by setDataSource("/sdcard/onelovemp3");because the emula
7 matches
Mail list logo