Samsung Gear VR activates rear camera

I am trying to create a simple native application similar to the Passthrough application, I use the Passthrough.java class, but when I call the startCameraPreview method, nothing happens.

My goal is to activate the rear camera of the Galaxy Note 4 and show a preview using Gear VR.

The camera preview seems to have started, there are no errors in the logs, but all I can get is a black screen and a repeating message in logcat "W / QCamera2HWI: processMetaCallback: lls not activated, no operations here."

Does anyone know the meaning of this message?

EDIT: I found a useful structure created by Samsung, http://www.gearvrf.org/ , which makes my camera work.

+4
source share
1 answer

I found a useful framework created by Samsung, http://www.gearvrf.org/, through which the camera works for me. Inside the Gear VR Framework there are several samples, one of which is called scene objects. I use this sample, in any case the stream is simple: declare your Android camera object and pass it to the GVRCameraSceneObject

+1
source

All Articles