Hi Olaf,

> I'm very excited about your announcement, so I tried it out immediately :-)

Great! :)

> Unfortunately I had no luck so far to 'pass the zip to the Pilbox kernel' -
> tried it out with the provided hello.zip and calc.zip.

The PilBox App needs permission to access storage. Did you enable it in the App
settings, as mentioned in the article (Then go to Apps -> PilBox -> Permissions
and enable "Location" and "Storage")?

Then it should work, if you e.g. click in a browser on the link
https://software-lab.de/hello.zip and then open it (directly from the browser,
or by clicking on it in the "Downloads" App).

> In the wiki there is written
> ===X====
> When the PilBox kernel starts, it scans all top-level directories for other
> files named "App.l".
> ==X===
> What is ment by 'all top-level directories'?

All directories directly visible in the current working directory. This is the
one you see if you enter "$ ls -l" in the REPL. When the above passing of
'hello.zip' worked, you would see a new directory 'hello/', and inside that

"Top-level" means that a file 'hello/foo/App.l' would *not* be considered, only
files 'App.l' one level below the working directory.

> I tried the termux-share example and tried a download via Fireforx in
> default Downloads directory, but without success.

After installing the Termux App, you need to call 'termux-setup-storage' one
time. It creates a directory tree with symbolic links to globally accessible
disk areas. In my case this resulted in

   total 72K
   lrwxrwxrwx 1 u0_a67 u0_a67 24 May 28 10:04 dcim -> /storage/emulated/0/DCIM/
   lrwxrwxrwx 1 u0_a67 u0_a67 28 May 28 10:04 downloads -> 
   lrwxrwxrwx 1 u0_a67 u0_a67 26 May 28 10:04 movies -> 
   lrwxrwxrwx 1 u0_a67 u0_a67 25 May 28 10:04 music -> 
   lrwxrwxrwx 1 u0_a67 u0_a67 28 May 28 10:04 pictures -> 
   lrwxrwxrwx 1 u0_a67 u0_a67 19 May 28 10:04 shared -> /storage/emulated/0/

So I can do things like

   $ cp hello.zip ~/storage/downloads/
   $ termux-share ~/storage/downloads/hello.zip

I hope this works for you :)
♪♫ Alex

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

Reply via email to