Hi all,
I am working on an app to use the phone's cam periodically. I used the
appropriate entries in the app's manifest file etc.
<uses-permission
android:name="android.permission.CAMERA" />
<uses-feature
android:name="android.hardware.camera" />
<uses-feature
android:name="android.hardware.camera.autofocus" />
At runtime I get:
ava.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.native_setup(Native Method)
at android.hardware.Camera.<init>(Camera.java:85)
at android.hardware.Camera.open(Camera.java:67)
Is there anything else that needs to be done to achieve this? From the
Camera
class description and all examples (including the Preview in the
APIDemos)
I think I am using everything necessary to achieve this.
Thanks
--
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