List of usage examples for android.media MediaPlayer.OnPreparedListener interface-usage
From source file com.eggwall.SoundSleep.AudioService.java
/** * Runs the music in the background and holds a wake lock during the duration of music playing. */ public class AudioService extends Service implements MediaPlayer.OnErrorListener, MediaPlayer.OnPreparedListener, MediaPlayer.OnCompletionListener { /** The namespace of our application, used for qualifying local messages. */
From source file org.digitalcampus.oppia.utils.mediaplayer.VideoPlayerActivity.java
public class VideoPlayerActivity extends AppActivity implements SurfaceHolder.Callback, MediaPlayer.OnPreparedListener, VideoControllerView.MediaPlayerControl { public static final String TAG = VideoPlayerActivity.class.getSimpleName(); public static final String MEDIA_TAG = "mediaFileName";
From source file com.example.lzhang.stockchartt.media.playback.LocalPlayback.java
/** * A class that implements local media playback using {@link android.media.MediaPlayer} */ public class LocalPlayback implements Playback, AudioManager.OnAudioFocusChangeListener, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener, MediaPlayer.OnPreparedListener, MediaPlayer.OnSeekCompleteListener {
From source file ru.kudzmi.rajitaku.radioService.RadioService.java
public class RadioService extends Service implements MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener { private static final int NOTIFICATION_ID = 39; private MediaPlayer mPlayer; private AudioManager audioManager; private WifiManager.WifiLock wifiLock; private Handler mHandler = new UpdateHandler();
From source file com.lithiumli.fiction.PlaybackService.java
public class PlaybackService extends Service implements MediaPlayer.OnPreparedListener, MediaPlayer.OnCompletionListener, AudioManager.OnAudioFocusChangeListener { public static final String EVENT_PLAYING = "com.lithiumli.fiction.PLAYING"; public static final String EVENT_PLAY_STATE = "com.lithiumli.fiction.PLAY_STATE"; public static final String DATA_SONG = "com.lithiumli.fiction.SONG"; public static final String DATA_STATE = "com.lithiumli.fiction.STATE";
From source file com.jlcsoftware.callrecorder.MainActivity.java
/** * Our MAIN Activity - MAIN LAUNCHER * */ public class MainActivity extends AppCompatActivity implements RecordingFragment.OnListFragmentInteractionListener,
From source file com.teocci.utubinbg.BackgroundAudioService.java
/** * Service class for background youtube playback * Created by Teocci on 9.3.16.. */ public class BackgroundAudioService extends Service implements MediaPlayer.OnCompletionListener, MediaPlayer.OnPreparedListener {
From source file bupt.tiantian.callrecorder.callrecorder.MainActivity.java
/** * Our MAIN Activity - MAIN LAUNCHER */ public class MainActivity extends AppCompatActivity implements RecordingFragment.OnListFragmentInteractionListener, MediaPlayer.OnPreparedListener, MediaPlayer.OnCompletionListener, MediaController.MediaPlayerControl {
From source file rocks.stalin.android.app.playback.RemotePlayback.java
/** * A class that implements local media playback using {@link android.media.MediaPlayer} */ public class RemotePlayback implements Playback, AudioManager.OnAudioFocusChangeListener, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener, MediaPlayer.OnPreparedListener, MediaPlayer.OnSeekCompleteListener {
From source file com.example.android.supportv7.media.LocalPlayer.java
/** * Handles playback of a single media item using MediaPlayer. */ public abstract class LocalPlayer extends Player implements MediaPlayer.OnPreparedListener, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener, MediaPlayer.OnSeekCompleteListener { private static final String TAG = "LocalPlayer";