I would like to create a video recorder and so far haven\'t figured out how to set parameters in order to successfully go through MediaRecorder.prepare() method.
Exe
I am exactly answering this question in the following tutorial: http://integratingstuff.wordpress.com/2010/10/18/writing-code-that-captures-videos-on-android/
The reason why your code is failing on prepare() is because you didn't set all the necessary properties. For example, you also need to set maxDuration.