March 6th, 2009, 03:30 AM
|
#1 (permalink)
|
|
New Member
Join Date: Mar 2009
Posts: 2
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
Problem with Simple Audio Recorder Application : Android
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.
Jason.
|
|
|