Well there' isn't any equivalent for normal files. (just mobilePickPhoto,mobilePickMedia).
A tedious, but working way would be to set the defaultFolder to whatever the folder is that has the files in it. Then 'put the files' into a variable and show them to the user using the Modal Pick-Wheel = 'mobilePick optionList'
Should give you roughly the same effect and ease of use.
All the Android apps I have that show a file directory have created their own interface for it. I have a couple of different "office" apps and they each present their own. I have three different file managers and they all have their own too. Dropbox and Google Drive also each have a different one. So I don't think it's a standard Android interface, every developer has to do it themselves.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
jacque wrote:All the Android apps I have that show a file directory have created their own interface for it. I have a couple of different "office" apps and they each present their own. I have three different file managers and they all have their own too. Dropbox and Google Drive also each have a different one. So I don't think it's a standard Android interface, every developer has to do it themselves.
Actually there is a user stack level api for when you're coding Android apps from scratch. Yeah all apps have their own interfaces but Android has it's own simple function for pulling a list of currently existing files. Of course it depends what you feed the function but still, it's a global API.
Good to know, thanks. So the apps I have are creating their own GUI but using a system call to get the file lists. Sounds like a LiveCode feature request to me...
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
OK... your posts are beyond my comprehension...but this is what worked for me.
There is something called fillfilesfolders that works on my android
First, create two scrolling fields, field1 and field2
In the card level put:
command fillfilesfolders
put the folders into field "field1"
put the files into field "field2"
end fillfilesfolders
On field1's object script put
on mouseup
set the defaultfolder to the defaultfolder & "/" & the clicktext
fillfilesfolders
end mouseup
That gives me in field1 all the folders on the android (including pictures and downloads, which is what I want).
Click on those and it gives me the files in field2.