Mobile - Open file dialog?

Ludovic THEBAULT ludovic.thebault at laposte.net
Tue May 14 10:36:32 EDT 2019


> Le 14 mai 2019 à 15:53, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> a écrit :
> 
> Bonjour Ludovic,
> 
>> Am 14.05.2019 um 15:46 schrieb Ludovic THEBAULT via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> 
>>> Le 14 mai 2019 à 15:39, Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com> a écrit :
>>> 
>>> Hi Ludovic,
>>> 
>>> thanks for you answer, but i think a was not precise enough.
>>> 
>>> The app allows to saves PDF files.  Not only one, but many. The folder to which the files are saved is static set to the documents folder.
>>> I want to allow the users to open any of that files. As i wrote already, in Desktop i am doing this by "answer file with.....   " and the users see the files in the documents folder and just have to select the one they want to open.
>>> 
>>> 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). 




More information about the Use-livecode mailing list