packages/apps/SoundRecorder/src/com/android/soundrecorder/SoundRecorder.java 639
case R.id.playButton:
if (!mRecorder.sampleFile().exists()) {
Toast.makeText(SoundRecorder.this, R.string.file_deleted,
Toast.LENGTH_SHORT).show();
finish();
}
stopAudioPlayback();
mRecorder.startPlayback();
break;
case R.id.playButton:
if (!mRecorder.sampleFile().exists()) {
Toast.makeText(SoundRecorder.this, R.string.file_deleted,
Toast.LENGTH_SHORT).show();
mRecorder.delete();
mVUMeter.resetAngle();
return;
}
stopAudioPlayback();
mRecorder.startPlayback();
break;