Log in or register to post comments

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

April 17, 2017 - 8:12am #1

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.

AttachmentSize
Image icon CameraNotSupported.png25.74 KB

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

April 18, 2017 - 9:45am #4

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.

AttachmentSize
Image icon crashGS3.png44.37 KB

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

April 18, 2017 - 7:53am #3

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.

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

April 17, 2017 - 8:29am #2

Try to switch OFF [Multithreaded rendering*] in build settings..

Log in or register to post comments