Camera (deprecated)

Content Type: Widget
Categories: Mobile

Overview

Deprecated: see the Hybrid Mobile actions for alternative https://appstore.home.mendix.com/link/app/112063/ This widget lets you capture a photo with the mobile device's camera.

Documentation

 

Camera Widget For PhoneGap

The camera widget enables PhoneGap native camera functionality within your Mendix mobile application.
 

Contributing

For more information on contributing to this repository visit Contributing to a GitHub repository!

 

 

Configuration

Place the widget in a dataview where you want the button to be placed. Make sure this form is reachable from a mobile application.

 

 

Appearance

  • Image container class
    The class that will be set on the image preview container.
     
  • Width
    The width of the image preview.
     
  • HeightThe height of the image preview. 
     
  • Image Location
    Where the image preview will be shown relative to the button.

 

Button

  • Label
    The label text that is shown on the button.
     
  • Class
    An optional class to be placed directly on the button dom node.

 

Events

  • On change microflow
    An optional microflow that will be triggered when an image is taken.

 

 

Image quality

 

 

  • Quality width
    The width of the image that is eventually stored and send to the application, between 0 and 100. 
     
  • Quality height
    The height of the image that is eventually stored and send to the application, between 0 and 100.

 

NOTE: High settings are more taxing and will take longer to upload.

Releases

Version: 4.0.3
Framework Version: 7.13.1
Release Notes: Fix documentation URL
Version: 4.0.2
Framework Version: 7.13.1
Release Notes: Fix for Android 4.4 (Thanks @mgroeneweg)
Version: 4.0.1
Framework Version: 7.13.1
Release Notes: - Fix for constructor error in IE (Fixes GitHub Issue #35)
Version: 4.0.0
Framework Version: 7.13.1
Release Notes: 1) Make button text translatable string (breaking change, after update reset you caption) 2) Add option auto start the camera, so no button click is required 3) Prevent users from editing or closing the form while the image is uploading: - This can be done directly with the auto upload or on form save - The progress message could be shown always 'During upload' (block UI) preventing user from interacting with the for. Or 'On form save' with 'Autosave', the upload can already be started while the form is edited, and only show the progress on saving the form when the upload is not completed yet.
Version: 3.3.2
Framework Version: 7.13.1
Release Notes: - When canceling the camera no longer an error message is shown. (Solving Ticket #65667) - Corrected the CSS classes in the (web modeler) preview
Version: 3.3.1
Framework Version: 7.13.1
Release Notes: Bug fix, `On save nanoflow` will now only be called when provide
Version: 3.3.0
Framework Version: 7.13.1
Release Notes: - Add after save call nanoflow - Change widget name to Camera - Update widget icon
Version: 1.0
Framework Version: 6.0.1
Release Notes: First release