samples/Support4Demos/src/main/java/com/example/android/supportv4/media/Playback.java
@Override
    public boolean onError(MediaPlayer mp, int what, int extra) {
        Log.e(TAG, "Media player error: what=" + what + ", extra=" + extra);
        if (mCallback != null) {
            mCallback.onError("MediaPlayer error " + what + " (" + extra + ")");
        }
        return true; // true indicates we handled the error
    }
/**
     * Called when there's an error playing media. When this happens, the media
     * player goes to the Error state. We warn the user about the error and
     * reset the media player.
     *
     * @see android.media.MediaPlayer.OnErrorListener
     */
Called when there's an error playing media. When this happens, the media
player goes to the Error state. We warn the user about the error and
reset the media player.


Called when there ' s an error playing media . When this happens the media player goes to the Error state . We warn the user about the error and reset the media player .
@Override
    public boolean onError(MediaPlayer mp, int what, int extra) {
        Log.e(TAG, "Media player error: what=" + what + ", extra=" + extra);
        if (mCallback != null) {
            mCallback.onError("MediaPlayer error " + what + " (" + extra + ")");
        }
        return true; 
    }
@ Override public boolean onError ( MediaPlayer mp , int what , int extra ) { Log . e ( TAG , "Media player error: what=" + what + ", extra=" + extra ) ; if ( mCallback != null ) { mCallback . onError ( "MediaPlayer error " + what + " (" + extra + ")" ) ; } return true ; }
Called when there's an error playing media.
Called when there ' s an error playing media .
// true indicates we handled the error