Access to internal sdcard (Android)

Just starting out? Need help? Post your questions and find answers here.
Basicoid
Posts: 12
Joined: Thu Dec 08, 2016 4:57 pm

Access to internal sdcard (Android)

Post by Basicoid »

Not sure, if this can be done by standard SpiderBasic commands, but maybe there are some tricks to do so...

1) I'd like to scan android's download directory for the four latest files (download date) of a special type (e.g. *.xlsm) to show them in a list. There's a FileRequester in SpiderBasic, but no 'ExamineDirectory'. And how to retrieve the correct path of the Download directory?

2) When selecting one of these files, an app should be started to show the chosen file. Android does not have a 'global' table to store apps for certain extensions, it is done by each app. So this could be another problem, not only, that SpiderBasic does not have a 'RunProgram' command.

I know, this are a mere of questions and I don't expect a working code doing all this stuff ;) but maybe some experts are able to give hints, which of the problems are relatively simple and which are really tricky :idea:

Thanks.