google / cameraview

[DEPRECATED] Easily integrate Camera features into your Android app
Apache License 2.0
4.74k stars 1.03k forks source link

No camera access lead to collapse,need help. #38

Open nanchen2251 opened 8 years ago

nanchen2251 commented 8 years ago

Hello, I think I met a big trouble, I'm going to do facial recognition to develop a custom camera, through a variety of ways to solve, so find the CameraView, really very good, I can use this to make a small demo, but into my project always quote exception no camera, I really don't know what's wrong, very helpless, who can help me, thank you

xCatG commented 8 years ago

Did you add

    <uses-feature android:name="android.hardware.camera" />
    <uses-permission android:name="android.permission.CAMERA" />

to your AndroidManifest.xml ?

nanchen2251 commented 8 years ago

ok,thank you. I was in before adding the permission, but I was found by multiple debug cameras being used, it is not clear, but when I put the application uninstall reshipment is ok. The reason is unknown.I really like your camera.thanks.