Mendix Camera Widget which built on Media Capture API
The latest release WebCamera.mpk (v1.0-beta)
Bizzo Photo Gallery is Progressive Web App uses WebCamera widget as a showcase of the functionality provided by the widget.
-
Place this widget in a 'dataview' that is initialized with an entity which inherits from the entity 'System.Image'.
-
This widget serves as a camera sub-application/service and it will overlay the content of the page where it was added, therefore it's recommended to create a special layout ( empty layout | e.g. my_empty_layout) and add the the widget to an empty page as the image below :
-
onImageSaved select the microflow/action that will be triggered upon successfully saving the captured image.
-
OnSaveClose If your 'onImageSaved' action includes 'closePage' activity set this prop to 'Yes' in order to stop the camera.
-
Image Format select the format of the captured image.
-
Image Qulaity set the compression ratio of the captured image.
If you encounter any issue while using this widget, please report it here