"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Black screen is displaying in Android 5.x versions only.

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.

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.

MohamedBenSaid

Tue, 04/18/2017 - 16:45

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.