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 playing the audio/video files. http://code.google.com/android/intro/hello-android.html Regards Girish On Dec 16, 3:37 pm, Turk <[email protected]> wrote: > 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 regards, > Turk > > On Dec 3, 11:27 am, Girish <[email protected]> wrote: > > > 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 > > > run make command . > > > This will buiild out/target/product/generic/data/app/ApiDemos.apk > > > Now do adb install out/target/product/generic/data/app/ApiDemos.apk > > > Now place the videofile (Yourfilename) in /sdcard like this > > adb push Yourfilename /sdcard > > > Go to apidemos ->media- >mediaplayer -> play video from local file > > > This should start playing the video which u place in the /sdcard. > > > Please let me know if you have any other question > > > Regards > > Girish > > > On Dec 3, 7:58 am, "[email protected]" > > > <[email protected]> wrote: > > > Hi there, > > > > I am very new to android/programing and would like some help > > > please :) > > > > I have the android SDK running on eclipse and was wondering how to > > > create an app that: > > > > 1. Plays a specific video I want to release (For example; I publish > > > the application with a 90 sec video, my app plays it, allows users can > > > forward, rewind ect.) > > > > I do NOT want the users to be able to play their videos, just mine :) > > > (For the moment, then I wish for users to interact w/ it, but first > > > let me make my video play) > > > > Any help will be very very appreciated, especially commented code; (I > > > am a complete noob remember) > > > > Thank you for your time, > > > Kind regards, > > > Turk > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

