changed to using android mediaRecorder and mediaPlayer