Have you tried setting a MediaPlayer.OnErrorListener<http://developer.android.com/reference/android/media/MediaPlayer.OnErrorListener.html>that returns true? Maybe this will suppress the internally generated error message.
On Tuesday, February 5, 2013 4:55:05 AM UTC-6, Per-Jarle Sæther wrote: > > Hello all > I'm working with a video playback app > > Sometimes when there is a problem with the video stream, the MediaPlayer > displays an error dialog saying: > "Sorry, this video cannot be played" > > Is there any way to disable this dialog so it will not be displayed in my > app? > I would like to implement my own functionality when errors happen > > Best regards > Per-Jarle > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.