Quantcast
Viewing all articles
Browse latest Browse all 1476385

[Forums] How to select image from gallery on Outsystems Now Android ?

Hello Mykola.

Using the TakePicture feature of OutSystemsNow, you can customize some behavior of what happens on the device. Open the OutSystemsNow module and search for 

navigator.camera.getPicture

According to the documentation, getPicture allows you to define a source type. Default is Camera.PictureSourceType.CAMERA, but you can use Camera.PictureSourceType.PHOTOLIBRARY and it should go to the recent pictures. So, in the getPicture, add another parameter (after destinationtype) like suggested in the documentation:

, sourceType: Camera.PictureSourceType.PHOTOLIBRARY

Remember that this will be shared by all apps that use OutSystemsNow TakePicture.

Thanks

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>