List of usage examples for android.media MediaPlayer.OnCompletionListener interface-usage
From source file com.baruckis.nanodegree.spotifystreamer.PlayerService.java
public class PlayerService extends Service implements MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener { // Service will respond to this action String public static final String RECEIVE_BROADCAST_INTENT_PAUSE = "com.baruckis.nanodegree.spotifystreamer.receive_broadcast_intent_pause"; public static final String RECEIVE_BROADCAST_INTENT_NOTIFICATION = "com.baruckis.nanodegree.spotifystreamer.receive_broadcast_intent_notification";
From source file com.smedic.tubtub.BackgroundAudioService.java
/** * Service class for background youtube playback * Created by Stevan Medic on 9.3.16.. */ public class BackgroundAudioService extends Service implements MediaPlayer.OnCompletionListener, MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener {
From source file com.shahenlibrary.VideoPlayer.VideoPlayerView.java
public class VideoPlayerView extends ScalableVideoView implements MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnBufferingUpdateListener, MediaPlayer.OnCompletionListener, MediaPlayer.OnInfoListener, LifecycleEventListener, MediaController.MediaPlayerControl { private ThemedReactContext themedReactContext; private RCTEventEmitter eventEmitter;
From source file org.amahi.anywhere.service.AudioService.java
/** * Audio server. Does all the work related to the audio playback. * Places information at {@link android.app.Notification} and {@link android.media.RemoteControlClient}, * handles audio focus changes as well. */ public class AudioService extends Service implements AudioManager.OnAudioFocusChangeListener,
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.example.volunteerhandbook.MainActivity.java
public class MainActivity extends FragmentActivity implements MediaPlayer.OnCompletionListener { public static final String FROM_SERVER = "FROM_SERVER"; public static final String CITIZEN_ID = "citizen_id"; static private DrawerLayout mDrawerLayout; static private ListView mDrawerList;
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 com.massivcode.androidmusicplayer.services.MusicService.java
public class MusicService extends Service implements MediaPlayer.OnCompletionListener { private static final String TAG = MusicService.class.getSimpleName(); public static final String ACTION_PLAY = "ACTION_PLAY"; public static final String ACTION_PLAY_NEXT = "ACTION_PLAY_NEXT"; public static final String ACTION_PLAY_PREVIOUS = "ACTION_PLAY_PREVIOUS";
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 metrocasas.projectsgt.MainActivity.java
public class MainActivity extends AppCompatActivity implements MediaPlayer.OnCompletionListener, GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, LocationListener, OnSimpleDialogListener { //<editor-fold desc="Variables Mapas"> public static final String TAG = MapsActivity.class.getSimpleName();