Ok, so now it streams the video. Thanks. But now the problem is, how can I put a buffering bar on top of the surfaceview so they know when it will play. Also, how can I make it so that it doesn't skip like crazy. Like check how muched buffered and if it is 10% resume play and if it catches up...pause.
What is the best way to do that? Thanks again Mark. On Jan 9, 4:01 am, Mark Murphy <mmur...@commonsware.com> wrote: > Step #1: Use lowercase http in URLs. > > Step #2: Don't use an emulator, use hardware. > > Step #3: Make sure the extension matches the actual file format. > > Step #4: Use LogCat (via DDMS or adb logcat) to look at any warnings > that might be emitted by the multimedia subsystem. > > > > > > > > > > On Sat, Jan 8, 2011 at 9:25 PM, Scott Deutsch <surger...@gmail.com> wrote: > > I did what you said. Instead of a file for the local path, replaced it with > > HTTP://......./test.3gp .............. = > > URI uri = Uri.parse("HTTP://........./test.3gp"); the file format i used was > > .3gp? Ignore the ............. I had a real domain name in there. > > mMediaPlayer.setDataSource(this, uri); > > > And no luck. It does not play it. > > Any ideas? thanks friends. > > > -- > > 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 > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > 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