Problem with Simple Audio Recorder Application : Android

Last Updated:

  1. Jason_bill

    Jason_bill New Member This Topic's Starter

    Mar 6, 2009
    Likes Received:
    Hi ,

    I have written a simple Audio Recorder.

    It compiles and runs properly but the problem is , I cant play back the recorded contents. When i tried to play back the files it said"Sorry, the player does not support this kind of audio files".

    I have enabled the SD card support by "./emulator -sdcard sd_card.img" command in emulator.

    when i enter this command the emulator issues a warning saying "Opening Audio Output failed".

    In my code i have specified the outputfile as "/sdcard/test.3gpp".
    first i have used "Environment.getExternalStorageDirectory()" to specify "setOutputFile()". then my recorded contents poppulated in "Menu->Music->Songs " but i could not play them due to above mentioned problem"Sorry, the player does not support this kind of audio files". If i use "/sdcard/test.3gpp" (Hard coded) i could not see the files on emulator.

    In DDMS if i see logcat it says "Network time out".

    I have altered the Android manifest file also to add the AUDIO permission after the <intent_filter> field.

    Please annyone help me in solving this problem..

    Thanks in Advance.

  2. myEazy55

    myEazy55 New Member

    May 28, 2009
    Likes Received:
    JASON_BILL TRY -audio oss when running your emulator... so it will be emulator -avd what_ever_the_name -sdcard sdcard_name -audio oss

Share This Page