bins wrote:
> i have the proble with the video view i will post my code
> down .......its not working...

<snip>

> but is not working.....i was trying with the my own server....it is
> getting in browser....but not working with the video view.......can
> any body help me.......

Try using adb push (or the IDE equivalent) to copy your video file into 
the emulator somewhere (perhaps into an SD card image). Then try 
referencing the local path:

video=(VideoView)findViewById(R.id.video); 
video.setVideoPath("/tmp/test.mp4");

I used Documentaries and You from 
http://www.law.duke.edu/cspd/contest/finalists/ for my test purposes as 
it was pretty small and fit well in the /tmp directory.

If this works, then the problem most likely is with the streaming. Megha 
Joshi had a posting...somewhere...that documented the rules for files 
that can be used for streaming purposes, but I can't seem to find it 
right now.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
The Busy Coder's Guide to Android Development -- coming in June 2008!

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to