I have my media recorder set up and running. Video is recorded and saved to a file. Once I get onInfo callback (I have maximum duration set) or interrupt from user I stop, reset and release media recorder object. From this point onward my application fails to start recording again. I can't take pictures either. Other apps have no problems accessing the camera. I'm not getting any exceptions or error messages in logcat.
My application is partially native. Native library calls my video recording routines via JNI. After first video recording JNI calls to methods of my CameraManager class return random values. I tried debugging with ADT and Eclipse. I'm entering right method calls. As I try to step through It's either disconnecting (and app terminating on the device) or I get errors like "Class not found" and then it returns prematurely to native code... I've triple checked my JNI related code in the native layer. I've used JNI without such problems so far (for example I can take multiple pictures without issues) so I'm inclined to believe it's related to MediaRecorder. (I've seen similar thread around 3 months ago but I could not reply there thus a new discussion) I'm experiencing this behavior on HTC Legend (Android 2.1) and Tattoo (Android 1.6) phones. -- 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

