Mobile - Open file dialog?

Klaus major-k klaus at major-k.de
Tue May 14 10:40:18 EDT 2019



> Am 14.05.2019 um 16:36 schrieb Ludovic THEBAULT via use-livecode <use-livecode at lists.runrev.com>:
> ...
>> 
>>>> Currently i am using mobilepick on my mobile app to show a list of all files and let the users select the one they want to open.
>>>> But i was wondering if there might be an other solution that would allow this also.
>>>> 
>>>> Matthias Rebbe
>>> 
>>> Sorry !
>>> 
>>> I think it’s better to use an data grid, or a simple field to select the file. MobilePick doesn’t display all the filename
>> 
>> So something like:
>> ...
>> put files(specialfolderpath("documents")) into tFiles
>> filter tFiles with "*.pdf"
>> mobilepick tFiles
>> ...
>> does not work?
> Yes it’s work, but if the filename is not short, only the beginning of the filename is displayed with MobilePick (on iPhone, perhaps not on ipad). 

ah, OK, didn't know that.
Well, then a listfield or something would be a better solution.


Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list