native-camera-reactive
Reactive icon

Native Camera Reactive

Stable version 1.0.3 (Compatible with OutSystems 11)
Uploaded
 on 24 July 2023
 by 
5.0
 (3 ratings)
native-camera-reactive

Native Camera Reactive

Documentation
1.0.3
Note
This component allows reactive web applications to use the smartphone's native Camera app to take a picture. In desktop or laptop, it will simply show a built-in webcam frame.

Component Use Steps
1. Drag the component's webblock to the place in the screen where you want the camera widgets to appear.
2. Set an event handler for the 'PhotoTaken' event, which will return a binary file with the picture.
3. Set an event handler for the 'CameraReady' event, which will help you control when the camera is fully configured and ready to use.
4. To open the smartphone/tablet Camera app, use the 'OpenMobileCamera' client action. You can use the 'CheckIsMobileDevice' client action to check if the user is using your app in a mobile device.
For PC, the webcam will be automatically rendered in the screen in the position where the webblock is placed.
5. Store and use your picture.



1.0.2
Note
This component allows reactive web applications to use the smartphone's native Camera app to take a picture. In desktop or laptop, it will simply show a built-in webcam frame.


Component Use Steps
  1. Drag the component's webblock to the place in the screen where you want the camera widgets to appear.
  2. Set an event handler for the 'PhotoTaken' event, which will return a binary file with the picture.
  3. Set an event handler for the 'CameraReady' event, which will help you control when the camera is fully configured and ready to use.
  4. To open the smartphone/tablet Camera app, use the 'OpenMobileCamera' client action. You can use the 'CheckIsMobileDevice' client action to check if the user is using your app in a mobile device.
    For PC, the webcam will be automatically rendered in the screen in the position where the webblock is placed.
  5. Store and use your picture.