4

I'm trying to create a simple native app similiar to Passthrough app, I'm using the Passthrough.java class, but when I call the startCameraPreview method nothing happens.

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

The camera preview seems to have started, there's no log errors, but all that I can get is a black screen and a recurring message in logcat "W/QCamera2HWI: processMetaCallback: lls not enabled, no ops here".

Someone knows the meaning of that message?

EDIT: I've found a useful framework created by Samsung, http://www.gearvrf.org/ through this I've got the camera working.

Bonch
  • 158
  • 8
  • 1
    Can't help but would be interested to hear if you solved this. – Robert Aug 12 '15 at 10:57
  • Could you share more details how did you got the camera working (which class did you use)? – Alex Lima Nov 06 '15 at 06:23
  • @AlexLima Inside the Gear VR Framework there are several samples, one of those it's called [scene-objects](https://github.com/Samsung/GearVRf/tree/master/GVRf/Sample/scene-objects). I take inspiration using that sample, anyway the flow is simple: Declare your android Camera object and pass it to a GVRCameraSceneObject and you're done! – Bonch Nov 06 '15 at 15:35
  • Thanks! That worked for me. – Alex Lima Nov 08 '15 at 02:55
  • please add your solution as an answer and mark it as accepted so that others know that this issue is resolved – lockstock Mar 08 '18 at 11:08
  • @lockstock my solution was the comment posted on Nov 6 2015 – Bonch Mar 08 '18 at 16:57
  • @Bonch I know that, but in the search results this issue appears unresolved, so if you add your solution as an actual answer and then mark it as accepted, other users will know that it is unresolved. Thanks. – lockstock Mar 08 '18 at 23:07

1 Answers1

1

I've found a useful framework created by Samsung, http://www.gearvrf.org/ through this I've got the camera working. Inside the Gear VR Framework there are several samples, one of those it's called scene-objects. I take inspiration using that sample, anyway the flow is simple: Declare your android Camera object and pass it to a GVRCameraSceneObject

Bonch
  • 158
  • 8