Example usage for android.media MediaPlayer.OnErrorListener interface-usage

List of usage examples for android.media MediaPlayer.OnErrorListener interface-usage

Introduction

In this page you can find the example usage for android.media MediaPlayer.OnErrorListener interface-usage.

Usage

From source file com.example.gangzhang.myapplication.VideoPlayerActivity.java

public class VideoPlayerActivity extends Activity
        implements OnBufferingUpdateListener, OnCompletionListener, OnPreparedListener, OnVideoSizeChangedListener,
        SurfaceHolder.Callback, View.OnClickListener, MediaPlayer.OnErrorListener {

    private static final String TAG = "videoapp";
    private int mVideoWidth;

From source file com.android.dialer.voicemail.VoicemailPlaybackPresenter.java

/**
 * Contains the controlling logic for a voicemail playback in the call log. It is closely coupled
 * to assumptions about the behaviors and lifecycle of the call log, in particular in the
 * {@link CallLogFragment} and {@link CallLogAdapter}.
 * <p>
 * This controls a single {@link com.android.dialer.voicemail.VoicemailPlaybackLayout}. A single

From source file com.yohpapa.research.simplemusicplayer.PlaybackService.java

public class PlaybackService extends Service implements MediaPlayer.OnCompletionListener,
        MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnSeekCompleteListener {

    private static final String TAG = PlaybackService.class.getSimpleName();
    private static final String URI_BASE = PlaybackService.class.getName() + ".";
    private static final String ACTION_PAUSE = URI_BASE + "ACTION_PAUSE";

From source file leoisasmendi.android.com.suricatepodcast.services.MediaPlayerService.java

public class MediaPlayerService extends Service implements MediaPlayer.OnCompletionListener,
        MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnSeekCompleteListener,
        MediaPlayer.OnInfoListener, MediaPlayer.OnBufferingUpdateListener, AudioManager.OnAudioFocusChangeListener {

    private final String TAG = getClass().getSimpleName();

From source file mp.teardrop.PlaybackService.java

/**
 * Handles music playback and pretty much all the other work.
 */
public final class PlaybackService extends Service
        implements Handler.Callback, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener,
        MediaPlayer.OnPreparedListener, SharedPreferences.OnSharedPreferenceChangeListener, SongTimeline.Callback,

From source file com.rks.musicx.services.MusicXService.java

public class MusicXService extends Service implements playInterface, MediaPlayer.OnPreparedListener,
        MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener, AudioWidget.OnControlsClickListener,
        AudioWidget.OnWidgetStateChangedListener, AudioManager.OnAudioFocusChangeListener {

    private static Handler handler;
    public final int NO_REPEAT = 1;