The advanced settings class,
Focus mode
The high level steps to set the Camera focus mode are shown here:
Get the information about the supported focus modes on the camera using the
Set a specific focus mode on the camera using the
Get the current focus mode on the camera using the
The enumerated type
The following example shows how to change the focus mode:
Focus range
Get the supported focus range using the enumerated type
The following example shows how to change the focus range:
The result of
Autofocus types
Get the supported autofocus types using the enumerated type
The following example shows how to change the autofocus type:
The result of
Drive modes
Get the supported drive modes for the camera using the enumerated type
The following example shows how to change the drive mode:
The result of
Bracket modes
Bracket mode is a type of drive mode, which is called using
Bracket mode involves the camera taking a sequence of pictures, while automatically varying a camera setting, such as exposure, over a range of values. The enumerated type
The following example shows how to change the bracket mode:
Zoom Mode
The high level steps to perform various operations in zoom mode are listed below:
Get the continuous zoom types supported by the camera using
Start continuous zoom using
Notify the client about the extent of continuous zoom achieved using event
Stop continuous zoom using
Extending Pixel Aspect Ratio
You can use the pixel aspect ratio to provide settings for PAL, NTSC and NTSC4:3. For this, you need to extend the enumeration of Enum
Use
Use
This section details the miscellaneous APIs used in
ISO rates : ISO indicates the sensitivity of the image sensor and is also a parameter that influences the exposure.
Get the set of camera supported ISO rates using the
When camera device does not reveal the ISO supported rates, it has to be assumed that camera will work only on the permanently set value. If this value is not known, returns empty array and corresponding getter or setters for this feature should not be used in such a case.
Set the type of ISO rate and the exposure parameter or specific value using the
Get the type of ISO rate, exposure parameter and the value set using the
Get current ISO rate using
Get current aperture value using
Get the current shutter speed in microseconds using
Get all supported metering modes on this camera using
Get all supported drive modes as bitfields of
Get the currently set flash mode using
The
The
+advanced settings class,
Focus +mode
The high level steps to set the Camera focus mode are shown +here:
Get the information
+about the supported focus modes on the camera using the
Set a specific focus
+mode on the camera using the
Get the current focus
+mode on the camera using the
The
+enumerated type
The following example shows how to change the focus mode:
Focus +range
Get the supported focus range using the enumerated type
The following example shows how to change the focus range:
The result of
Autofocus
Autofocus
+support for camera applications is controlled through the
Pressing the camera shutter key on the device halfway down generates
+additional key events. The key events can be used to activate autofocus if
+the camera hardware supports the functionality. Shutter release (image capture)
+can be triggered by pressing the key all the way down. The key presses generate
+separate key events. To capture other than autofocus key events from the shutter
+key, you need the
The
+settings you can use in your application depend on the camera hardware on
+the device. The Camera API allows you to query almost all features of the
+device camera. For example, to get a list of supported advanced settings,
+use the
Get the supported autofocus types
+using the enumerated type
The following example shows how to change the autofocus type:
The result of
For
+more information on how to easily use the device camera with zoom and autofocus,
+see
Drive modes
Get
+the supported drive modes for the camera using the enumerated type
The following example shows how to change the drive mode:
The result of
Bracket +modes
Bracket mode is a type of drive mode, which is called using
Bracket mode involves the camera taking a sequence of pictures,
+while automatically varying a camera setting, such as exposure, over a range
+of values. The enumerated type
The following example shows how to change the bracket mode:
Zoom Mode
The high level steps to +perform various operations in zoom mode are listed below:
Get the continuous zoom
+types supported by the camera using
Start continuous zoom
+using
Notify the client about
+the extent of continuous zoom achieved using event
Stop continuous zoom
+using
Extending Pixel Aspect Ratio
You can use the pixel
+aspect ratio to provide settings for PAL, NTSC and NTSC4:3. For this, you
+need to extend the enumeration of enum
Use
Use
This
+section details the miscellaneous APIs used in
ISO rates : +ISO indicates the sensitivity of the image sensor and is also a parameter +that influences the exposure.
Get the set of camera
+supported ISO rates using the
When camera device does +not reveal the ISO supported rates, it has to be assumed that camera will +work only on the permanently set value. If this value is not known, returns +empty array and corresponding getter or setters for this feature should not +be used in such a case.
Set the type of ISO
+rate and the exposure parameter or specific value using the
Get the type of ISO
+rate, exposure parameter and the value set using the
Get current ISO rate
+using
Get current aperture
+value using
Get the current shutter
+speed in microseconds using
Get all supported metering
+modes on this camera using
Get all supported drive
+modes as bitfields of
Get the currently set
+flash mode using
The
The