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);
}
}
}
}
?
On Mar 5, 7:59 am, Dave Sparks <[email protected]> wrote:
> The only audio format supported on G1 is AMR format (raw .AMR file).
>
> On Mar 4, 1:18 pm, zeeshan <[email protected]> wrote:
>
>
>
> > 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.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---