PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Saving a Photo to an external SD Card or memory card
Saving a Photo to an external SD Card or memory card
Débuté par Patrick Dufourq, 27 juil. 2021 14:30 - Aucune réponse
Posté le 27 juillet 2021 - 14:30
Hi everyone,
I am trying to save a jpg photo into the folder Pictures on the external sdcard. OR in a specific folder if possible,

SysRemovableExternalStorage(2) returns value 1

SysNbExternalStorage() returns value 2

SysDirExternalStorage(2,ssePublicPhoto) returns /storage/55F4-1518/pictures. I am assuming 55F4-1518 is the name of the sd card.

Xphoto = CameraRunApp(viPictureCapture)

Xphoto gets saved under /storage/emulated/0/Pictures/name.jpg

Please can anyone help me.
Thank you