
Camera2 for Android
Delphi and C++Builder camera and media recorder components for Android.
- Built on Android Camera2 and MediaRecorder APIs
- Compatible with Delphi / C++Builder 11 and 12
- Full source code included with registered version
- Royalty-free distribution in your applications
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)
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?
- Periodically invoke the CaptureImage method to acquire frames from the camera.
- Implement barcode recognition logic inside the OnImageAvailable event handler.
- For seamless integration, consider using Barcode Suite for FireMonkey, which provides robust support for optical barcode processing.
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:- Add a TPanel component to your form.
- Set its ControlType property to Platform.
- Assign the panel to the camera preview: ACamera2.PreviewControl := Panel1;