Eventually I used a "hidden" default intent to capture a sound and
retrieve the audio file: new
Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION);

On 1 oct, 15:12, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> I found SoundRecordingDemo in the mailing list files.
> I tried this because I try to record a sound in one of my
> activities...
> First I had to add the RECORD_AUDIO permission in order not to have an
> error message.
> Regarding the code, the media scanner should be launched after
> recording, but I had to do this myself (in dev tools application) in
> order to see the new file in the music application.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to