Hi,

I'm having a bit of a problem with MediaRecorder which i can't solve.

I've exported as much issue related code as possible, creating a
Service that pretty much doesn't make sense, but should still work
nevertheless. I did this in attempt to isolate the issue.

The linked code whould start a Thread and enter a while-loop, where it
should start recording from the MIC to a file for 500ms, then stopping
the recording, reseting the recorder and deleting the file, over and
over.

It does just that, but it will after a random number of loops just
stop on one of the MediaRecorder calls. Sometimes it will loop 1000
times and sometimes 20.
Sometimes when this occures, other MediaRecorder applications stop to
function as well. For example I tried to start vide recording with the
Nexus One shipped Recorder app, but it would not film..

When this occurs, LogCat doesn't say much, it just stops logging my
App once it stops on one of the MediaRecorder calls, no exceptions or
errors.

Is there a known issue with the Media Recorder or am I doing something
wrong?


I've pasted the code here:
http://pastebin.com/0axaAJyP

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to