giving some exception

Tutorials with advanced 'difficulty' and more Lines of Code.

giving some exception

Postby kartik_saltriver » Wed Apr 15, 2009 1:01 pm

In starting it is giving me exception when i am calling prepare() using MediaPlayer object.

Error initializing the MediaPlaer.

E/com.pocketjourney.media.StreamingMediaPlayer( 255): java.io.IOException: Prepare failed.: status=0xFFFFFFFC

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at android.media.MediaPlayer.prepare(Native Method)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at com.pocketjourney.media.StreamingMediaPlayer.startMediaPlayer(StreamingMediaPlayer.java:171)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at com.pocketjourney.media.StreamingMediaPlayer.access$2(StreamingMediaPlayer.java:160)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at com.pocketjourney.media.StreamingMediaPlayer$2.run(StreamingMediaPlayer.java:144)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at android.os.Handler.handleCallback(Handler.java:542)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at android.os.Handler.dispatchMessage(Handler.java:86)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at android.os.Looper.loop(Looper.java:123)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at android.app.ActivityThread.main(ActivityThread.java:3742)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at java.lang.reflect.Method.invokeNative(Native Method)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at java.lang.reflect.Method.invoke(Method.java:515)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)

E/com.pocketjourney.media.StreamingMediaPlayer( 255): at dalvik.system.NativeStart.main(Native Method)

E/MediaPlayer( 255): Attempt to call getDuration without a valid mediaplayer

E/MediaPlayer( 255): Attempt to call getDuration without a valid mediaplayer
kartik_saltriver
Freshman
Freshman
 
Posts: 7
Joined: Wed Apr 01, 2009 5:50 am

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 3 guests