<Hunar>
run this in PilBox and when pressing the (Start Camera) button it will work, but it chrome no need to press it, it starts automatically
<abu[m]>
Hi Hunar!
<abu[m]>
Yeah, I remember our experiments. WebView and Chrome-App behave differently :(
<Hunar>
No problem, at least it works :) now I want to turn this html into a PilBox miniApp
rob_w has joined #picolisp
<abu[m]>
Good, let me know whenever you have an new idea
<Hunar>
:D
<Hunar>
How to import a .js file in PilBox? on pc we have (html ... (javascript "file.js"))
<abu[m]>
Best is to put it into the global *JS
<abu[m]>
(push1 '*JS (allow ...
<abu[m]>
See e.g. @lib/gis.l or @lib/canvas.
<Hunar>
I'll try to not ask too many questions :)
<Hunar>
Ok
<abu[m]>
No problem at all! I was just on the phone.
<Hunar>
I'm having a problem.. since storage permission was removed I cant directly install a .zip .. I made a local server and put the link for the .zip into the section in PilBox settings where you can install apps, but it says "data not found".. I uploaded it to a website and put that link, still says "data not found" .. how can I install .zip now
<abu[m]>
A always use termux-share
<abu[m]>
Have not tried another way recently
<abu[m]>
Hmm, no, I *did*
<abu[m]>
I often install a PIL in the PilBox settings. Always worked (i.e. download, not from memory)
<abu[m]>
I never saw a permission problem with termux-share.
<abu[m]>
Why is the Download directory relevant here?
<Hunar>
I couldn't get termux-share to work, it hangs .. that error is shown when i share the .zip in another app and choose PilBox
<abu[m]>
Yeah, the latter is a permission problem (scoped storage, I never found the time to investigate scoped storage)
genpaku has quit [Read error: Connection reset by peer]
genpaku has joined #picolisp
<abu[m]>
Someone should indeed try to find out how to enable scoped storage in PilBox
<Hunar>
Ah, I had to install Termux:API app, not just the termux-api package .. now it works and shares to PilBix
<Hunar>
they really should say it somewhere
<abu[m]>
Oh! I was not aware too ☺
<Hunar>
Small question :) why wouldn't (setq *Repo "localhost:8000") work, or when I uploaded to a website it was in a folder web.com/folder/file.zip I couldn't get that to work
<abu[m]>
*Repo is a domain, not an URL
<abu[m]>
PilBox App.l does (download *Repo (pack S ".zip") "pil.zip")
<abu[m]>
So this Download button could indeed be a bit more intelligent
<abu[m]>
But should work if you set *Repo to "web.com" and type "folder/file" into the GUI field
<abu[m]>
(the 'download' function is in @lib/misc.l
<abu[m]>
(vi 'download) in the REPL is best
<Hunar>
I tried it, it didn't work folder/file
<abu[m]>
It uses https btw
<abu[m]>
i.e. download uses bin/ssl
<Hunar>
my url is also https 😐 is there a way to make it return any error message
<abu[m]>
Probably. Perhaps call 'download' manually first to see what it does?
<abu[m]>
So download works, but it is not helpful in case of PilBox
<abu[m]>
No, it *is* working
<abu[m]>
'download" in PilBox always downloads as "pil.zip" and then unpacks it
pfd has quit [Ping timeout: 260 seconds]
<beneroth_>
it works because PilBox downloads it so PilBox has the permissions to handle it, right?
<abu[m]>
correct
<abu[m]>
So I'm not sure what goes wrong in Hunar's case
<Hunar>
I tested using $ pil21/bin/ssl and got a long html-like page, I think the website isn't https, I'll try another website later when I get some free time :)
<abu[m]>
good
pfd has joined #picolisp
<abu[m]>
Enjoy your evening!
rob_w has quit [Remote host closed the connection]
<Hunar>
Thanks :D
aw- has quit [Ping timeout: 260 seconds]
aw- has joined #picolisp
pfd has quit [Quit: Client closed]
alexshendi has quit [Ping timeout: 252 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]