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/commonsguy
http://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

Reply via email to