Problem with Simple Audio Recorder Application : Android

by Jason » Sat, 07 Mar 2009 10:53:19 GMT

Sponsored Links

I have written a simple Application to record audio.

SD card is enabled in emulator using "./emulator -sdcard sd_card.img".
when i enter this command, it displays warning saying "Audio output is

the application runs properly but i cant see the recorded file.

output file is set to "sdcard/test.3gpp" (setOutputFile("/sdcard/test.

earlier i used "environment.getExternalStorageDirectory()" option to
get the path.. den i could see the recorded contents in "Music - >
Songs" in Emulator. But when i tried to play those, it says format not
supported("sorry, the player doesnot support this kind of audio
file"). i pulled that file using ADB ( "adb pull local_file /sdcard/
remote_file") on to system and tried to play it but unsuccessful.

I have altered the Android manifest file to give the AUDIO permission
aftre the <intent filter >field in the file.

Plesae help me....

Thanks in Advance....


Other Threads

1. ListView and Buttons on Screen

Hello people,

I have a problem and need your help.
I have a class that extends the class ListActivity and in this class I have
a ListView. I must add two buttons after the ListView, but I am not getting.

The layout I don have defined into XML file.

How can I do to display the two buttons on a line below my ListView?

Thank you!

Sorry for my bad english.


2. Fetching using http_proxy : 1.5_pre

Hi All,

I am trying to connect to the internet ( I am behind a http_proxy )
using 1.5_pre SDK.......but is not working for me..

I already tried the two suggestions given in

but it does not seem to working.

In the earlier SDK version (r10) [host_name]:[port_no] used
to work

Please help....what else do I need to do ?

thank you


3. how can i change the layout_gravity by code?

4. About SimpleCursorAdapter String[] from

5. Interface Builder/Template System

6. How to make very fast frame animations?

7. Anyone working on a Dex decompiler ? I am doing one .