Release Notes - Android 2.x
2.3.20 (03/21/2024)
Changed
- Internal changes on the torch controlling logics.
2.3.12 (12/19/2023)
Fixed
- Added internal changes to prevent crashes on cross-platform apps.
2.3.11 (02/14/2023)
Fixed
- Fixed a crash bug on the devices that do not support 16:9 size resolution.
2.3.10 (12/13/2022)
New
- Override method
setFocus
inCameraEnhancer
class for users to specify the subsequent focus mode after triggering a focus. EnumerationEnumFocusMode
is added to specify the focus mode. - Added a new method
setAutoZoomRange
inCameraEnhancer
for users to specify a range for the auto-zoom feature of the library. - Added an interface
DCECameraStateListener
to receive a callback when the camera state changes. You can add the protocol via a new methodsetCameraStateListener
. - Added a new method
getVisibleRegionOfVideo
inDCECameraView
class
Deprecated
- Deprecated method
pause
andresume
inCameraEnhancer
class.
Fixed
- Fixed a bug that might cause thread blocking when using an offline license.
- Fixed a bug that UI might be blocked when the screen is locked and reopened.
- Fixed a bug that might cause memory churn when the instance/thread was created frequently.
2.3.5 (11/04/2022)
- Fixed a bug that might throws exception when triggering
CameraEnhancer.close
after triggeringCameraEnhancer.pause
.
2.3.4 (09/22/2022)
- Fixed a bug that camera might not be opened after camera permission is allowed.
2.3.3 (08/18/2022)
Fixed
-
Fixed a bug that might cause camera crash when the
DCECameraView
is quit without destroying. -
Fixed a deformation bug of
DCECameraView
when the screen rotated.
2.3.2 (08/02/2022)
New
- Added methods
selectCamera(EnumCameraPosition)
andgetCameraPosition
for users to switch between the front-facing camera and the back-facing camera. - Added enumeration
EnumCameraPosition
.
Fixed
- Fixed a null pointer bug that might occur when rotating the
DCECameraView
. - Fixed a crash bug when some methods are called in child thread.
2.3.0 (06/28/2022)
Version Highlights
- The same camera enhancer instance can now be used by multiple products. (JS edition only)
- Added photo capturing features. You can now capture high-resolution images using the library. (Mobile editions only)
- Added device feedback features. You can now trigger vibrations or beep sounds of mobile devices. (Mobile editions only)
Changelog
- Added the following APIs for capturing photos:
DCEPhotoListener
: The interface that includes methodphotoOutputCallback
which is triggered when a photo is captured. JPEG-encoded photo can be received via the methodphotoOutputCallback
.takePhoto
: Triggers photo capturing.
- Added a new class
DCEFeedback
. The following APIs are available in the class: - Added a new method
getMaxZoomFactor
which returns the maximum available zoom factor of the device.
2.1.4 (05/26/2022)
New
- Added support for ISO and exposure time settings.
Fixed
- Fixed the memory leaks caused by the misuse of the Context instance.
- Fixed a bug where some delay might happen in initiating licenses when using along with Dynamsoft Barcode Reader Mobile Edition.
Deprecated
CameraEnhancer.setFrameRate
2.1.3 (03/02/2022)
Fixed
- Fixed a bug that might cause a crash on Android emulator when used together with
DynamsoftBarcodeReader
.
2.1.1 (12/28/2021)
New
- Added a new feature
SMART_TORCH
. Users can enable this feature via the methodenableFeatures
by specifyingEF_SMART_TORCH
. WhenSMART_TORCH
is enabled, a torch button will be displayed automatically when the environment light level is low. Users can click on the torch button to turn on/off the torchlight. - Overwrite
DCECameraView
methodsetTorchButton
. Users can set the position, size and image of the torch button. The previoussetTorchButton
method is deprecated.
Fixed
- Fixed a bug that might affect the processing speed.
- Fixed a bug that
enableFeatures
might not have effects.
2.1.0 (12/16/2021)
Version Highlights
- Added class scan region configuration APIs and
RegionDefinition
for users to set the region of interest. The frames will be cropped based on the scan region to accelerate further frame processing.
Changelog
Added
- Added method
setScanRegion
andgetScanRegion
toCameraEnhancer
class for users to set or get the region of interest. The scan region will determine how frames will be cropped. - Added class
RegionDefinition
. The class will be used to define the parameters for methodsetScanRegion
. - Added method
setScanRegionVisible
andgetScanRegionVisible
to control and check the visibility of the scan region. - Added method
setTorchButton
toDCECameraView
class for users to set the position of the torch button. MethodssetTorchButtonVisible
andgetTorchButtonVisible
are added to set and check the visibility of the torch button. - Extended the JSON template of
updateAdvancedSettingsFromFile
andupdateAdvancedSettingsFromString
. Added fast mode configuration parameters to the template.
2.0.0 (10/19/2021)
Version Highlights
- Simplified the usage of camera-control APIs. The new APIs are easier to use and cover more scenarios.
- Simplified the usage of camera enhancer features. Users can enable all required features via the method
enableFeatures
by inputting the combined enumeration value. - Extended the features of
DCECameraView
. Users can add and personalize the overlays and viewfinder on the camera UI. - Extended the features of
DCEFrame
.DCEFrame
will store more frame information to cover more scenarios. In addition, the methodtoBitmap
is added to enable users to convertDCEFrame
to a visible image. - The camera UI will display a fuzzified image instead of the previously captured image when the camera UI is quit and resumed.
Changelog
Improved
- Updated the mechanism of the video buffer. The capability of real-time frame processing and transferring is improved.
Fixed
- Fixed a bug that might cause incorrect device count.
Breaking Change(s)
- Added method
initLicense
to replaceinitLicenseFromDLS
. - Upgraded the
basic camera-control APIs
. - Upgraded the usage of
camera enhancer features
. - Renamed class
CameraView
toDCECameraView
. The features of the class are extended as well. - Renamed class
Frame
toDCEFrame
. The features of the class are extended as well.