On 1/18/21 11:21 PM, Alexander Burger wrote:

I have not looked at the Scoped Storage API yet. Is it really a problem? The
PilBox core runtime does not depend on external storage, so the API should be
accessible from Lisp (with perhaps a slight modification of
AndroidManifest.xml), no?

☺/ A!ex

I confess I've not dug into it myself either, as I've not had the need to do external file access in any of my apps. As you say, since Pilbox allows calls to be made to the Android framework, it should be possible to cobble something together. The general approach as I understand it is that the app makes a request that causes a system UI to appear that allows the user to select a file to operate on, or (I believe) a directory tree. There is definitely some approach that the various file manager apps are using to adapt to this new world.

What I'm not clear on myself is if this is a permission grant that then allows normal file IO operations to be done, or if the access has to take place through a new API path.

-wilhelm


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to