Hi,
There are always runtime exceptions about reset() method when I tried
to finish a audio record operation and start to record new one. The
procedure in my code as follows:

MediaRecorder mRecorder = new MediaRecorder();

//....begin to record....
mRecorder.prepare();
mRecorder.start();

//....end to record....
mRecorder.stop();
mRecorder.reset();

//.....begin to record a new one...
mRecorder.prepare();
mRecorder.start();
.......

And exception happen at mRecorder.reset().
Is there any problems in reset() of MediaRecorder?
Or I only can new a MediaRecorder object and release it when I need to
record a new one audio?

Regards



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

Reply via email to