| android Programming Glossary: stopplayingMediaPlayer error (1, -1004) aka MEDIA_ERROR_IO trying to stream music on Samsung S3 http://stackoverflow.com/questions/16672568/mediaplayer-error-1-1004-aka-media-error-io-trying-to-stream-music-on-samsun  initialMediaPlayerAndVisualizer  Stop playing private void stopPlaying  bars.setVisibility View.VISIBLE visualizerContainer.setVisibility.. 
 Online radio streaming app for Android http://stackoverflow.com/questions/6283568/online-radio-streaming-app-for-android  v if v buttonPlay  startPlaying else if v buttonStopPlay  stopPlaying  private void startPlaying buttonStopPlay.setEnabled true buttonPlay.setEnabled.. onPrepared MediaPlayer mp  player.start   private void stopPlaying if player.isPlaying  player.stop  player.release  initializeMediaPlayer.. 
 Live Audio Recording and Playing in Android and Thread & callback handling  http://stackoverflow.com/questions/9413998/live-audio-recording-and-playing-in-android-and-thread-callback-handling  startPlaying Log.e LOG_TAG start Playing private void stopPlaying LOG_TAG stopPlaying Log.e LOG_TAG stop Playing private void.. LOG_TAG start Playing private void stopPlaying LOG_TAG stopPlaying Log.e LOG_TAG stop Playing private void startRecording LOG_TAG.. false stopRecording  if isPlaying  isPlaying false stopPlaying  recordBtn.setEnabled true playBtn.setEnabled true @Override.. 
 MediaPlayer error (1, -1004) aka MEDIA_ERROR_IO trying to stream music on Samsung S3 http://stackoverflow.com/questions/16672568/mediaplayer-error-1-1004-aka-media-error-io-trying-to-stream-music-on-samsun    mPlayer.start   else Log.d TAG Media player is null. initialMediaPlayerAndVisualizer  Stop playing private void stopPlaying  bars.setVisibility View.VISIBLE visualizerContainer.setVisibility View.INVISIBLE ivInfo.setImageResource R.drawable.img_radio_info_offline.. 
 Online radio streaming app for Android http://stackoverflow.com/questions/6283568/online-radio-streaming-app-for-android  this public void onClick View v if v buttonPlay  startPlaying else if v buttonStopPlay  stopPlaying  private void startPlaying buttonStopPlay.setEnabled true buttonPlay.setEnabled false playSeekBar.setVisibility View.VISIBLE.. new OnPreparedListener  public void onPrepared MediaPlayer mp  player.start   private void stopPlaying if player.isPlaying  player.stop  player.release  initializeMediaPlayer  buttonPlay.setEnabled true buttonStopPlay.setEnabled.. 
 Live Audio Recording and Playing in Android and Thread & callback handling  http://stackoverflow.com/questions/9413998/live-audio-recording-and-playing-in-android-and-thread-callback-handling  for loop for sampleRate return private void startPlaying LOG_TAG startPlaying Log.e LOG_TAG start Playing private void stopPlaying LOG_TAG stopPlaying Log.e LOG_TAG stop Playing private void startRecording LOG_TAG startRecording start a separate recording.. return private void startPlaying LOG_TAG startPlaying Log.e LOG_TAG start Playing private void stopPlaying LOG_TAG stopPlaying Log.e LOG_TAG stop Playing private void startRecording LOG_TAG startRecording start a separate recording thread from here.. stop Recording private void stop if isRecording  isRecording false stopRecording  if isPlaying  isPlaying false stopPlaying  recordBtn.setEnabled true playBtn.setEnabled true @Override public void onCreate Bundle icicle super.onCreate icicle LOG_TAG.. 
 |