Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Record audio on Android

Hi.

Im trying to record audio on android.

var recording = Ti.Media.createAudioRecorder();

recording.compression = Ti.Media.AUDIO_FORMAT_ULAW;
recording.format = Ti.Media.AUDIO_FILEFORMAT_WAVE;

but when i tried to check the app on the emulator, i got an error, it said the object is null. ¬¬

Can someone help me? im desperate….

— asked October 26th 2010 by Donovan Del Valle
  • android
  • audio
  • record
0 Comments

3 Answers

  • Accepted Answer

    Recording audio or video is not yet implemented on Android.

    — answered October 26th 2010 by Don Thorp
    permalink
    1 Comment
    • Go to vocalrank.com. That android audio recording module picks up where Codeboxed stopped. It works with TiStudio 3.0, and targets Android SDK 10. There's a sample apk available for download and more info about the Android audio recorder module.

      — commented February 12th 2013 by Eric Dean
  • Now recording is possible on Android, natively, without Intents.
    We just released the Audio Recorder Titanium Module for Android.
    You can see more details on Codeboxed Titanium Audio Recorder Module
    Follow us on Twitter: @codeboxed for more updates.

    — answered August 4th 2011 by Alexandru Budin
    permalink
    0 Comments
  • Recording audio or video is not yet implemented on Android.

    — answered October 26th 2010 by Don Thorp
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.