Record Video From Camera Via Version Android 2.2
enter code hereWhen I try to recording video from camera at version Android 2.2. It has some errors.No one could find the solution. İs there any bug Android MediaRecorder API. How
Solution 1:
Emin,
Based on the image of the logcat output you provide the crash is occuring with the start()
method. You will see from the documentation for the start
method that prepare()
must be called first or else it will throw the IllegalStateException
. In your code all the calls the prepare()
are commented out?
EDIT: We sorted things out in the comments below my answer. He was running this code on an emulator and MediaRecorder
is not supported by the emulator.
Post a Comment for "Record Video From Camera Via Version Android 2.2"