MOVERIO Pro Developer's Guide (Rev.1.4)
77
Use procedure 1 (when side by side is set)
Use procedure 2 (when preview has already started)
Remarks
After setting the camera mode in setEpsonCameraMode, be sure to perform
setParameters. Changed content is not reflected in the camera device until
setParameters is executed.
When the preview has already started, use stopPreview to temporarily stop the
preview, and then set the camera mode.
Each camera mode has a limited combination of preview resolutions and frame rates.
Note that a run-time exception will occur in setParameters for combinations that
exceed the limit.
The parameters for associated frame rates and preview resolutions will not change
even if you set the camera mode in setEpsonCameraMode. Application developers
should set these parameters using appropriate combinations before executing
setParameters. Please refer to
Table 6
-
4
for available setting parameters.
Capturing resolution is fixed by each mode. Change setting by using setPictureSize
which is Android standard API is not available.
/*Start camera*/
camera = Camera.open();
/*Acquire current parameter (or default value)*/
Camera.Parameters params = camera.getParameters();
/*Set camera mode to side by side*/
params.setEpsonCameraMode(Camera.Parameters.EPSON_CAMERA_MO
DE_SIDE_BY_SIDE);
/*Reflect camera setting in camera device*/
camera.setParameters(params);
/*Start preview*/
camera.startPreview();
/*Stop preview*/
camera.stopPreview();
/*Acquire current parameter (or default value)*/
Camera.Parameters params = camera.getParameters();
/*From here on, use procedure 1*/
Summary of Contents for Moverio Pro BT-2000
Page 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Page 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Page 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Page 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Page 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Page 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Page 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Page 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Page 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Page 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Page 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Page 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...