The white balance modes can be controlled using this extension.
The available white balance modes are defined in the
CameraParameters.WHITE_BALANCE_MODE_LOCKED: The white balance setting is locked
CameraParameters.WHITE_BALANCE_MODE_AUTO: The device performs an auto white balance operation now
CameraParameters.WHITE_BALANCE_MODE_CONTINUOUS: The device continuously monitors white balance and adjusts when necessary
White balance modes aren't available on all devices so it's important that you check whether the device supports the mode before attempting to set it.
To set the white balance mode simply call
setWhiteBalanceMode with the required mode