Android camera problem
I'm developing opencv apps in android in and testing them in Beagleboard-xm and Embest DevKit8500,both having ARM Cortex-A8 processor..
In both of the boards connected camera is working normally in the android camera app. But the opencv apps donot work(not even the samples).
In Javacamera, the error message "It seems that your device does not support camera(or it is locked).Application will be closed)
In Nativecamera, the app doesnt even open.
How can i fix this problem?The camera i'm using a UVC camera with 1.3MP resolution.
What is your Android version, OpenCV4Android SDK version and Manager version? Do other programs work with camera ok? Such error message usually means that samples cannot open any camera on your device. Alternatively camera can be locked by another process. Try to reboot device and check samples again. First with Java camera, then with native camera.
I have tried with Jellybean and Froyo..And with OCV4Android versions 2.4.3.1 & 2.4.4 ..none of them worked.. Yes the default android camera worked. Should I specify the camera resolution or the screen resolution using setResolution().
And what about 3rd party apps? Camera application works with internal system API.
yes..they work...also i have enabled permission to install 3rd party apps in the settings
There is known issue with Android 2.2 Froyo: http://www.code.opencv.org/issues/1244