How to select image from gallery on Outsystems Now Android ?

I need to upload a file from users gallery on Android using OutsystemsNow. FileUpload widget initiate a dialog where camera and file manager (and some other apps) are available, but not image gallery. Is it possible to do using standart tools of OSNow or I have to use some JS plugin?

Thank you.

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

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.


Hi César,

Is it possible to have the both options combined: Camera.PictureSourceType.CAMERA and Camera.PictureSourceType.PHOTOLIBRARY? So we can select which option do we want: take a picture or select from our gallery.

Thanks in advance.

Miguel Pinto