what is the recording format of Intent .RECORD_SOUND_ACTION?

by zeeshan » Thu, 05 Mar 2009 05:20:49 GMT


Sponsored Links
 Hi,

can anyone tell me what is the default format of android recording.
i have recorded an audio clip but dont know how can i check its
extention?

i am using this activity

Intent intent = new Intent
(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
startActivityForResult(intent, ACTIVITY_RECORD_SOUND);

i need mp3/wav format, is it the same or do i need to convert it? how?

please reply me

thanks.

--~--~---------~--~----~------------~-------~--~----~



what is the recording format of Intent .RECORD_SOUND_ACTION?

by Dave Sparks » Thu, 05 Mar 2009 15:59:40 GMT


 The only audio format supported on G1 is AMR format (raw .AMR file).



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


what is the recording format of Intent .RECORD_SOUND_ACTION?

by zeeshan » Thu, 05 Mar 2009 17:20:49 GMT


 thanks for the reply Dave, i was really waiting for it.
is there any way to transcode it in mp3 after record finish.

i need this kind of output:

Intent intent = new Intent
(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
startActivityForResult(intent, ACTIVITY_RECORD_SOUND);

protected void onActivityResult(int requestCode, int resultCode,Intent
data) {

if(requestCode == SELECT_AUDIO){
                        if (resultCode == RESULT_CANCELED) {


                            } else {

                                if (data != null) {


                                        Uri RecordedAudio = data.getData();
                                     convertInMp3(Uri);

                                }

                            }
                }

}

?





--~--~---------~--~----~------------~-------~--~----~



what is the recording format of Intent .RECORD_SOUND_ACTION?

by zeeshan » Fri, 13 Mar 2009 17:27:47 GMT


 any solution plz?





--~--~---------~--~----~------------~-------~--~----~



what is the recording format of Intent .RECORD_SOUND_ACTION?

by bw » Mon, 13 Apr 2009 02:40:21 GMT


 Try looking at the source code for RingDroid:
 http://code.google.com/p/ringdroid/source/checkout 

Particularly the CheapAMR and CheapMP3 classes which can read/write
these formats:
 http://code.google.com/p/ringdroid/source/browse/ #svn/trunk/src/com/ringdroid/soundfile








--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. ikutan Milis dgn PushMail

Bapak2, Ibu2 ...

apakah sudah pakai push mail?
ini ada email Exchange Server gratis..
kapasitas 150 MB, upload attachment 25MB
register di http://win.alol.net.br/owa

atau install app seven di android
ini linknya 
http://community.seven.com/files/Z7-20_0-336010-def_seven-preview.apk

Hajaaaaar....

--~--~---------~--~----~------------~-------~--~----~

2. 鍥炲: How to DROP a Database in Android ?

If u wanna delete a tables. Use the drop sql in upgrade method in
sqlitehelper sub class

2009-8-13 7:52 AMquot;Emre A. Yavuz" <eayl...@hotmail.com> 


Hi,

Does anybody know how to DROP a database in Android ?

I've tried ContextWrapper.deleteDatabase(), mDb.close(), mDbHelper.close()
etc. methods with no luck so far. I tried to remove it using the shell, but
I don't have the permission to do it. I was able to drop the TABLES etc. in
the database that I had created but nothing further than that.

Any help is appreciated.

Cheers,

Emre

------------------------------
More storage. Better anti-spam and antivirus protection. Hotmail makes it
simple. <http://go.microsoft.com/?linkid=9671352>

--~--~---------~--~----~------------~-------~--~----~

3. Error messages while browsing!

4. AVD extremely slow...

5. Paging Bapak Agus H

6. How can I get the reversion No of my downloaded android source code

7. donut dalvik vm