Need help with Audio Recording


Last Updated:

  1. Sakdroid

    Sakdroid New Member This Topic's Starter

    Joined:
    Dec 8, 2010
    Messages:
    2
    Likes Received:
    0
    Hi

    I am a newbie in Android and i was trying to build an app to record audio data. I am using Eclipse Galileo IDE with ADT plugin. And my app is targetted for the Andriod 2.1 platform.

    Unfortunately the example
    http://developer.android.com/guide/topics/media/index.html

    provided in the Dev Guide throws many exceptions.
    for eg: to get MIME type the code uses recorder.getMimeContentType().

    But this method does not exist in my version of MediaRecorder class.
    I have searched online as well as this forum and came up with one or two alternatives which show how to record audio and place it in an EXISTING file. But ideally i want the code given in the dev guide to work.

    Or even better if i can record the audio and store it directly in a byte array???

    I have spent a lot of time trying to get this to work but with not much success :(

    I would really appreciate if someone can show me how to achieve audio recording

    Thanks,
    Saket
     

    Advertisement
  2. sudheerm

    sudheerm New Member

    Joined:
    Feb 23, 2011
    Messages:
    1
    Likes Received:
    0
    Any updates regarding this, please post. I am looking for a similar solution and have struggled enough.
     

Share This Page

Loading...