By ajay007
on Mon, 04/17/2017 - 15:12
I am using vuforia-samples-core-android-6-2-10 sample application for cloud recognition. Sample code is working fine for Android 6.x and above versions but It is showing black screen when I run application in 5.x version.
I am facing this issue when I initiate AR :
E/AR: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized. E/Vuforia_Sample: Unable to open camera device: 0 E/CloudReco: Unable to open camera device: 0 E/CloudReco: Unable to enable continuous autofocus E/SampleAppRenderer: Unable to update video background texture
I also attached the same file of error logs. Please go through this.
Seeking forward for your positive response.
Try to switch OFF
Try to switch OFF [Multithreaded rendering*] in build settings..
This issue has been resolved
This issue has been resolved now. Actually this happened because I was using Sample code of 6.2.10 release for Cloud Recognition and the existing code is of 5.5.9 release.
Thanks Vuforia for quick response.
I downloaded the sample
I downloaded the sample (Download for Android vuforia-samples-core-android-6-2-10.zip) from Vuforia website and then I used it in a project on Android Studio.
It works well with android API <23.
But with Android 6.0 (Galaxy S3) the camera does not work and the application crash.