Import file on Android

J. Landman Gay jacque at hyperactivesw.com
Tue Jan 18 16:15:31 EST 2022


I'm not having much luck with this. SpecialFolderPath("external documents") seems to point to 
the Android/data/<bundleID>/files folder. I thought I might be able to use a file browser to 
put files there so the app could see them, but Android 12 doesn't seem to allow copying files 
there.

Has anyone succeeded in importing files from a publicly-accessible location? Ideally I'd get 
access to the public Downloads folder.

On 1/15/22 3:41 PM, J. Landman Gay via use-livecode wrote:
> I'm using mobileComposeMail to export a data file from an Android app. In spite of its name, it 
> opens the generic Share panel and lets you choose where to put the file.
> 
> Now I want to import a file from an external source. Where does specialFolderPath("external 
> documents") point to on Android? Is there another generic way to find a file in a public folder 
> on the device?
> 


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list