hey, I've just tried the sample SOUNDRECORDINGAPISAMPLE, and an error occured:
09-24 15:42:47.059: WARN/ServiceManager(24): Permission failure: android.permission.RECORD_AUDIO from uid=10019 pid=5373 09-24 15:42:47.059: ERROR/AudioFlinger(24): Request requires android.permission.RECORD_AUDIO I've put a line with a permission in the manifest but it doesn't make anything. Does anyone know permission RECORD_AUDIO? 2008/9/24 Baonq86 <[EMAIL PROTECTED]> > > Does anyone record the different format (not .amr) ?? > > On Sep 24, 3:10 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]> > wrote: > > I've not played the .amr from the SOUNDRECORDINGAPISAMPLE. I've > converted > > an .mp3 in .amr with software and try to play it. And it woks. maybe the > > probleme comes from the recorded .amr > > > > 2008/9/24 ZIN <[EMAIL PROTECTED]> > > > > > > > > > can u show me the way to play the .amr format? i can't run it on > > > Android. > > > > > On Sep 23, 6:04 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]> > > > wrote: > > > > sorry,it works > > > > > > 2008/9/23 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > > > > > > > another question about sound an recording. I've read that the only > way > > > to > > > > > record sound is to record it in AMR format. Is it true that the > media > > > player > > > > > does not read this format? And if it's true, is there another way > to > > > read > > > > > with the mediaplayer the sound that we'we recorded? > > > > > > > 2008/9/23 Megha Joshi <[EMAIL PROTECTED]> > > > > > > >> Yes...the sample is intended to be used for 0.9 sdk, it wont work > > > correct > > > > >> for m5. > > > > > > >> 2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > > > > > > >> me again... > > > > > > >>> I think Ive resolved the problem with sdcard but I have another > > > > >>> problem... > > > > > > >>> the error message in red > > > > > > >>> ERROR/AudioHardware(518): Error 16 opening record channel > > > > >>> ERROR/AudioFlinger(518): openRecord returned error 16 > > > > >>> ERROR/AudioHardware(518): Attempt to close without open > > > > > > >>> I run the sample with the m5 version of the emulator. Could it be > the > > > > >>> reason of the failure? > > > > > > >>> regards > > > > > > >>> 2008/9/22 jphdsn <[EMAIL PROTECTED]> > > > > > > >>>> Hello, > > > > >>>> I try the same sample and I have nearly the same result. > > > > >>>> have you installed an sdcard and try another time? Have you a > > > positive > > > > >>>> result? > > > > >>>> I try to install an sdcard but I've always the same line In the > > > > >>>> logcat: "sdcard access error" > > > > >>>> I think I've an error in the path but don't arrive to resolve > it. > > > > > > >>>> If you have the solution can you guide me. Thank's > > > > > > >>>> On Sep 17, 11:18 am, ZIN <[EMAIL PROTECTED]> wrote: > > > > >>>> > I have downloaded this project, and try running it in Android > > > > >>>> > Emulator. > > > > >>>> > When i click on the StopRecording Button, an alert appears :" > > > process > > > > >>>> > com.android.samples.audio has stopped unexpectedly ". > > > > >>>> > I wonder there is a problem in this project. > > > > >>>> > Can someone help me to fix that? > > > > > > >>>> > Thanks, > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---