[android-developers] Re: need help for MediaRecorder

2009-01-20 Thread Dave Sparks
I think the problem is your path, you need a leading slash: private String Path_Name = "/sdcard/audio4"; On Jan 17, 11:25 pm, "haze...@gmail.com" wrote: > hey hi, > i'm doing a similar program for my school too, but i cant make it to > work. do you think you can help me? i think i have the cod

[android-developers] Re: need help for MediaRecorder

2009-01-19 Thread haze...@gmail.com
hey hi, i'm doing a similar program for my school too, but i cant make it to work. do you think you can help me? i think i have the code written correctly, and i have added the permission too. please help. thanks package capstoneProject.AudioRecording; import android.app.Activity; import andro

[android-developers] Re: need help for MediaRecorder

2008-12-10 Thread Lei
Thank you. Next time I should catch the exeption. On Dec 10, 4:37 pm, Dave Sparks <[EMAIL PROTECTED]> wrote: > Generally, if you need a permission, you'll see an error message in > the log output. I'm pretty sure AudioFlinger outputs an error message > if an app tries to record without the permis

[android-developers] Re: need help for MediaRecorder

2008-12-10 Thread Dave Sparks
Generally, if you need a permission, you'll see an error message in the log output. I'm pretty sure AudioFlinger outputs an error message if an app tries to record without the permission. Anything that might lead to privacy or security issues generally requires special permission from the user. I

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread Lei
Thanks a lot! On Dec 10, 1:20 pm, mnj <[EMAIL PROTECTED]> wrote: > Hi, > > Check the link  http://code.google.com/android/devel/security.html > andhttp://code.google.com/android/reference/android/Manifest.permission > > "A central design point of the Android security architecture is that > no

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread mnj
Hi, Check the link http://code.google.com/android/devel/security.html and http://code.google.com/android/reference/android/Manifest.permission.html "A central design point of the Android security architecture is that no application, by default, has permission to perform any operations that woul

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread Lei
wow! Thank you, mnj. It works well now. And one more question, how can I know that where it needs a permission? Regards, Lei. On Dec 10, 12:36 pm, mnj <[EMAIL PROTECTED]> wrote: > Hi, > > Did you set the below permission in AndroidManifest.xml > > > > Regards, > Manoj > > On Dec 10, 9:30 am,

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread mnj
Hi, Did you set the below permission in AndroidManifest.xml Regards, Manoj On Dec 10, 9:30 am, Lei <[EMAIL PROTECTED]> wrote: > Hi all, > I want to record the audio from the micphone. But I failed. > I reference the document. And the link > is:http://code.google.com/android/toolbox/apis/medi