Hi!

I had a very tiny acttivity for audio recording:

recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(filename);
recorder.prepare();
recorder.start();

after a button click:

recorder.stop();
recorder.release();

Worked from the first beginning, a few hours later and NO changes (I
checked git two times!!!) the emulator hangs in the recorder.stop()
forever!!!

Anybody any ideas whats that about? Started the emulater, installed/
removed/installed the app, packaged the app, started via Eclipse
debugger, for 1.6, for 2.1 - all with no changes. Android NEVER comes
back from the recorder.stop()!!!

Thank you VERY much in advance,
regards
Anton

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to