[android-developers] Re: Problem when running SoundRecordingAPISample of Megha
Everything is ok except that i can't play back the record file .amr On Sep 24, 9:57 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]> wrote: > I've resolved the problem but I've another one now. > > Does anyone have read an .amr issued from the audiorecorder? > > 2008/9/24 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > > > 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 -~--~~~~--~~--~--~---
[android-developers] Problem with Android SDK 1.0 when playing media
I copy a file with wma format to sdcard and try opening this media file with Android Music App. But it said that "The player can't support this format". (I have already openned this format in SDK 9.0 beta and got success.) What's the problem with the newest SDK? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Problem when running SoundRecordingAPISample of Megha
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 -~--~~~~--~~--~--~---
[android-developers] Recorder Audio
I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only format audio recorder type is .AMR But the music media in Android can't play this format? What can i solve this problem? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Recorder Sound
In the SoundRecordingDemo, i think it works well, but after i record, i enter to the Music/Playlists to playback what I have had record, the Simulator says that it can't play this format (.3gpp). What can i do now to solve this problem? On Sep 19, 1:22 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > You can use the various MediaRecorder.setXXX() > methods.http://code.google.com/android/reference/android/media/MediaRecorder > > Only audio recording APIs are available in the sdk. For sample code check > out the SoundRecordingDemo in Files section. > > 2008/9/18 ZIN <[EMAIL PROTECTED]> > > > > > I want to control some recording parameters. Can anyone tell me more > > detail about the function of this Anroid SDK. > > 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 -~--~~~~--~~--~--~---
[android-developers] Recorder Sound
I want to control some recording parameters. Can anyone tell me more detail about the function of this Anroid SDK. 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 -~--~~~~--~~--~--~---
[android-developers] Problem when running SoundRecordingAPISample of Megha
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 -~--~~~~--~~--~--~---