mobile: pick image without importing?
J. Landman Gay
jacque at hyperactivesw.com
Wed Jan 24 16:01:47 EST 2018
On 1/24/18 2:53 PM, hh via use-livecode wrote:
>> Do we have a way to obtain a file path for an image on mobile?
>> I see mobilePickImage, but it insists on importing a copy of the
>> image, and what I'm really after is a reference to the image file.
>
> Why not set the defaultFolder and use "the files"?
> Or use the files(<targetFolder>)?
That's the usual way, but on mobile you can only access the files in
your app's sandbox. MobilePickImage allows the user to access external
images via the OS API but as far as I know it does not share file
locations with the calling app for security reasons.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list