Okay I got it done using the DDMS file manager. I have to say your original thoughts about reasons for the video not playing is absolutely correct. With your app I can also hear the audio but cannot see any video. I can also see the all the control buttons and the progress bar. I do not get the control buttons on my app but in my app I'm using the MediaPlayer directly - not through MediaController.
I guess I will need to move to using a real device. On Jan 19, 4:49 am, Mark Murphy <mmur...@commonsware.com> wrote: > In your AVD Manager, you define how large of a virtual SD card to have > in the AVD. It's called "SD Card". > > You then transfer files to it using the DDMS File Manager, or via the > adb push command. > > > > > > On Thu, Jan 19, 2012 at 2:54 AM, rperi...@yahoo.com <rperi...@yahoo.com> > wrote: > > Okay I'm still stuck trying to figure out how to use the SD card > > filesystem on the emulator. I followed the instructions in the > > documentation and created a sd card image using mksdcard. However, I > > cannot figure out how to push the test.mp4 file on to the image. The > > documentation mentions mtools but I cannot seem to find a version for > > Windows - all the downloads seem to be for Unix. Any ideas? > > > On Jan 18, 3:57 am, Mark Murphy <mmur...@commonsware.com> wrote: > >> On Wed, Jan 18, 2012 at 2:45 AM, rperi...@yahoo.com <rperi...@yahoo.com> > >> wrote: > >> > Thanks again for the reply. I actually subscribed to your books - they > >> > are well written. > > >> Thanks! > > >> > I downloaded the video sample and tried to run it > >> > but the screen remains blank. However I suspect it is becuase it > >> > cannot find the file. It seems like it is designed run the file > >> > "test.mp4" on an SD card on a real device. > > >> Or a test.mp4 file on the emulated SD card on an emulator. It still > >> will not play well in an emulator, but the lack of the MP4 file will > >> not stop you. > > >> > Can I make the sample work on the emulator. > > >> Yes. Put a file named test.mp4 in the emulated SD card on the > >> emulator. The specific MP4 file I used in those screenshots is the > >> "Documentaries and You" video from here: > > >>http://www.law.duke.edu/cspd/contest/finalists/ > > >> -- > >> Mark Murphy (a Commons > >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > >> _The Busy Coder's Guide to Android Development_ Version 3.7 Available! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price!- Hide quoted > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en