WINSOFT components and applications

Camera2 for Android

Camera2 for Android

Delphi and C++Builder camera and media recorder components for Android.
Download Camera2 for Android 2.2 trial version
Download Camera demo example
Download Audio Recorder demo example
Download Video Recorder demo example
Order Camera2 for Android $180 USD (license for one developer)
Order Camera2 for Android multi-license $540 USD (license for all developers in company)
Order Camera2 for Android year upgrades $90 USD (registered users only)
Order Camera2 for Android year upgrades multi-license $270 USD (registered multi-license users only)
Order Winsoft Component Package

FAQ

How do I apply updated properties to the active camera preview?

ACamera2.EffectMode := TEffectMode.Mono;
ACamera2.UpdatePreview; // applies the new effect to the current preview
		

How do I use the camera component for optical barcode recognition?

Why is the EJNIFatal exception with message 'Java type sk/winsoft/camera2/DeviceStateCallbackListener could not be found' raised?

Make sure to add the Winsoft.Android.Camera2.jar file located in "c:\Program Files (x86)\Winsoft\Camera2 for Android\Library" folder to the "Target Platforms/Android 32-bit/Libraries" subtree in the Delphi Projects window.

Why is the 'Cannot create surface view' exception raised?

This exception typically occurs when the camera preview is not associated with a native visual control capable of rendering a surface view on Android. To resolve this, ensure you're using a control that supports native rendering:
  1. Add a TPanel component to your form.
  2. Set its ControlType property to Platform.
  3. Assign the panel to the camera preview: ACamera2.PreviewControl := Panel1;

Useful Links

IconBarcode Suite
IconBarcode Suite for FireMonkey
IconCamera for iOS
IconCamera for macOS
IconMedia Suite
IconMedia Suite for FireMonkey
IconOBR Library for Android
IconOBR ML Library for Android
IconOptical Barcode Recognition for FireMonkey