Hello
Please how can I store an image taken with CameraPluging in local storage
you need to create a local database and you store your data there
download : just a action for transfert my data to SFTP SRVER
for CreateOrUpdateGaleryForSync and TriggerOfflineDataSync : just for synchronisation betwen app mobile and Outsystems server if you dont need that you can use just CreateOrUpdateGalery
Hi Ibtissam,
you can follow this link https://www.outsystems.com/forums/discussion/30618/how-to-save-image-to-device-gallery/
Hope it helps.
Thanks.
Hi,
you can find the image from the camera plugin and assigned it to binary variable.
Regards,
Shoeb
Hi @Shoeb Khan Yes, I did it , but now I want to store this image in my gallery.
hi @Jozy Sohail
yes i tried this solution but i have an error that is displayed i don't know who it is !
you can check with me if you want
I'll put the screenshots above with the descriptions
Screen 1 : I created TestPlugin to add my plugin
Screen 2 : i created this client action to do the plugin checking i don't know if it's the right way
Screen 3 : I created OnSaveImage for my plugin
Screen 4 : SaveInLocalStorageOnClick for the button to saving my image
**For my attribute Picture : I pass him the variable of the image taken by my phone
The error that I have
Have you ever tried this component? https://www.outsystems.com/forge/component-overview/3707/save-to-gallery
I never needed to use but already used the File Plugin https://www.outsystems.com/forge/component-overview/1633/file-plugin to save the image to application sandbox with the SaveFile client action.