Starts the camera.
Identifier: start_camera
<start_camera id="start_cam"/>
Stops the camera.
Identifier: stop_camera
<stop_camera id="stop_cam"/>
Captures an image if the camera functionality is active.
Identifier: take_picture
Minimal
<take_picture id="take_picture_location"> <param name="file_path">#{filename}.jpg</param> </take_picture>
All options
<take_picture id="take_picture_location" descriptor="Take picture from the current location"> <param name="file_path">/sdcard/#{filename}.jpg</param> <param name="quality">70</param> <param name="width">480</param> <param name="height">640</param> </take_picture>
Sets the zoom ratio for the camera.
Identifier: camera_zoom
<camera_zoom id="zoom_in" zoom_level="10"/>
This action turns the flashlight on/off. However, on devices without a flashlight, this action has no effect.
Identifier: toggle_flashlight
<action id="flashlight" type="toggle_flashlight" />
Uses the camera feature to scan a barcode.
Identifier: camera_scan_barcode
§{mysetting.xml}§
)white_list_elem
. All other values are ignored.Minimal
<camera_scan_barcode id="scan_barcode"> <settings>§{barcodeSetting-picking.xml}§</settings> </camera_scan_barcode>
All options
<camera_scan_barcode id="scan_barcode" descriptor="Scan barcode: location and item"> <settings>§{barcodeSetting-picking.xml}§</settings> <white_list> <white_list_elem>123456</white_list_elem> <white_list_elem>654321</white_list_elem> </white_list> </camera_scan_barcode>