Images retriving

Discussions about CSEntry
Post Reply
rajaretnam
Posts: 1
Joined: July 24th, 2022, 10:29 am

Images retriving

Post by rajaretnam »

Somehow I have programmed to capture photos in my Android mobile data entry application. But the images are stored in a sub-folder within Android folder which is protected from users. How to synchronize or upload the images to Dropbox or Google Drive, or transfer to an accessible folder within the mobile?
Rajaretnam
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Images retriving

Post by sherrell »

Hi Rajaretnam,

If you are capturing photos with a CSPro application, then you can use the SyncFile function to move them to the server, which does not need a dictionary like the SyncData function:

https://www.csprousers.org/help/CSPro/s ... ction.html

As for access, if you are running Android 11+, they have changed security settings/access to files. We made a post about it here a year ago:

https://www.csprousers.org/

Specifically:

Also, with Android 11+, the only application automatically granted access to manage the contents of /Android/data is the AOSP Files application. You can access the AOSP Files application by going to Settings > Storage > tap on Files. You will be prompted to select the default application. Choose the AOSP Files application.


Some of the Android file manager programs also limit your access even if the above is done, so you might have to search to get one that allows access to this folder.

Sherrell
Gregory Martin
Posts: 1792
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Images retriving

Post by Gregory Martin »

By the way, you can copy files to and from the Downloads directory on Android, as that is available to all applications. You can get the path for the Downloads directory by using the pathname function:

https://www.csprousers.org/help/CSPro/p ... ction.html
Post Reply