I am new to Android and I tried to create an application for recording audio data. I am using the Eclipse Galileo IDE with the ADT plugin. And my application is for the Andriod 2.1 platform.
Unfortunately, the example provided in the Dev manual raises many exceptions.
For example: to get the MIME type, the code uses recorder.getMimeContentType(). But this method does not exist in my version of the class MediaRecorder.
I searched online as well as this forum and came up with one or two alternatives that show how to record audio and put it in an EXISTING file. But ideally, I want the code in the developer guide to work.
Or is it even better if I can record audio and store it directly in an array of bytes?
I spent a lot of time trying to get this to work, but with little success :(
I would really appreciate if someone would show me how to achieve sound recording.
Saket source
share