@craig ,
in Theta X, when I use android.hardware.Camera class I’ve a preview, stream, all works, but I can’t select the camera preview with stitching, I guess that’s why Ricoh created another class abstract, but when I replace it with theta360.hardware.Camera or com.theta360.pluginlibrary.factory.Camera; I get next error when I run:
I/CameraControl: InitCamera 1
D/CameraControl: cameracontrol open():false
W/ow.hdrstreamin: CheckJNI: method to register “setPreviewSurfaceWithFlag” not in the given class. This is slow, consider changing your RegisterNatives calls.
E/ow.hdrstreamin: ----- class ‘Ltheta360/hardware/Camera;’ cl=0x159ca3e8 -----
objectSize=284 (224 from super)
access=0x8008.0001
super=‘java.lang.Class<java.lang.Object>’ (cl=0x0)
vtable (6 entries, 11 in super):
0: void theta360.hardware.Camera.F()
1: void theta360.hardware.Camera.G(android.graphics.SurfaceTexture)
2: void theta360.hardware.Camera.H()
3: void theta360.hardware.Camera.finalize()
4: void theta360.hardware.Camera.setPreviewSurface(android.view.Surface)
5: void theta360.hardware.Camera.startPreview()
Seems like methods setPreviewSurfaceWithFlag and setPreviewSurface are not in camera class