The camera object allows you to access the device cameras. This library is supported by Android 1.6+. If possible it is recommended to work with CameraEx class that wraps this object and adds many features. The CameraEx class requires Android 2.3+. This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Ready (Success As Boolean) PictureTaken (Data() As Byte) Preview (Data() As Byte) FocusDone (Success As Boolean)
Same as Initialize. CameraId is the id of the hardware camera. This method is only available from Android 2.3+.
Releases the camera object and allows other processes to access the camera.
Starts displaying the preview images.
Stops displaying the preview images.
Takes a picture. When the picture is ready, the PictureTaken event will be raised. You should not call TakePicture while another picture is currently taken. The preview images are stopped after calling this method. You can call StartPreview to restart the preview images.