Thanks...I was able to access the .mp4 I created using IE & FireFox
but still cannot get the MediaPlayer to stream the .mp4 file.  I'm
even using the example MediaPlayer files provide by the Google team
but STILL NO LUCK.

Has anyone got the MediaPlayer examples to stream .mp4 files????

I currently get this error:

ERROR/MediaPlayer(596): error: null
ERROR/MediaPlayer(596): java.io.IOException
ERROR/MediaPlayer(596):     at
android.media.MediaPlayer.prepare(Native Method)
ERROR/MediaPlayer(596):     at
com.google.android.samples.media.MediaPlayer_Video.playVideo(MediaPlayer_Video.java:
87)
ERROR/MediaPlayer(596):     at
com.google.android.samples.media.MediaPlayer_Video.access
$1(MediaPlayer_Video.java:58)
ERROR/MediaPlayer(596):     at
com.google.android.samples.media.MediaPlayer_Video
$1.onClick(MediaPlayer_Video.java:101)
ERROR/MediaPlayer(596):     at
android.view.View.performClick(View.java:1857)
ERROR/MediaPlayer(596):     at
android.view.View.onTouchEvent(View.java:2966)
ERROR/MediaPlayer(596):     at
android.widget.TextView.onTouchEvent(TextView.java:2850)
ERROR/MediaPlayer(596):     at
android.view.View.dispatchTouchEvent(View.java:2706)

Curiously, the MediaPlayer example doesn't even seem capable of
streaming an mp4 file out of the box as the url is sets for the
MediaPlayer is just ":

path = "http://....";;

I updated it to point to my file here:

path = "http://www.pocketjourney.com/audio.mp4";;

But still NO SUCCESS....yes the capital letters indicate that this
lack of even basic audio support has been the biggest waste of my time
for my Android project.

Anthony
--~--~---------~--~----~------------~-------~--~----~
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