<francogrex>
cool. I like pico. especially all the good examples on rosetta code etc
<Regenaxer>
Glad to hear that! So you should hang around here more often ;)
<francogrex>
anyway, it worked fine the app (the REPL) and also the java api etc.. (for example (java "java.util.Random" 'nextInt 100) etc)
<Regenaxer>
ok, did you also try some of the simple demo ZIPs?
<francogrex>
great, but the sharing of the zips (pils) not so good
<Regenaxer>
I see
<francogrex>
:) yes just what i was saying
<francogrex>
pilbox didn't find any shares
<Regenaxer>
I noticed that some Samsung devices don't recognize them
<francogrex>
i tried sharig with termux and also directly from the folder
<francogrex>
i have LG
<Regenaxer>
OK
<Regenaxer>
In fact I modified the Manifest today
<Regenaxer>
Exactly for this problem
<francogrex>
Regenaxer: may i suggest one change (simple) one
<francogrex>
?
<Regenaxer>
Not sure if it helped though
<Regenaxer>
yes, sure
<Regenaxer>
I would like to find the reason for this problem
<francogrex>
i didn't find an "exit" button, so I am forced to use (java "java.lang.System" 'exit 0) to exit from the app. but would a simple (bye) do it? (all in REPL surely)
<Regenaxer>
Ah, better not
<Regenaxer>
This just kills picolisp
<Regenaxer>
The recommended way is to swype the app out of the task list
<Regenaxer>
This terminates all processes
<Regenaxer>
But this does not address the above problem
<Regenaxer>
Which version did you try?
<francogrex>
ok yes. no indeed it doesn't address the inability to locate the ZIPed pils
<Regenaxer>
is it before 20180720 (ie today)?
<Regenaxer>
yes
<francogrex>
let me check...
<Regenaxer>
I added this to projects/gen/AndroidManifest.xml :
<Regenaxer>
Could you test on your system, if it works when you replace "application/zip" in the Manifest with "application/x-zip-compressed" ?
<Regenaxer>
The above link says:
<Regenaxer>
the mimeType is "application/x-zip-compressed" on Android 5.0
<Regenaxer>
I wonder why
<francogrex>
ok Regenaxer. i can try. though not sure it will be that. I have Android 7.0
<Regenaxer>
Understand
<Regenaxer>
Really strange why we have this problem on some devices (and on most not)
<francogrex>
when sharing with the Download PilBox pops up too yes
<Regenaxer>
ah, cool, so it works there?
<francogrex>
it pops up and allows sharing, but unfortunately nothing changes (zip not loaded in pilbox)
<Regenaxer>
oh!
<francogrex>
that's why i say it maybe be something else. is it possible to test with just an App.l file?
<Regenaxer>
yes, you can create a new one in the repl
<Regenaxer>
$ mkdir myApp
<Regenaxer>
myApp/App.l -> Edit
<Regenaxer>
But being able to read a ZIP is important for useful work
<Regenaxer>
So if "it pops up and allows sharing", what is passed to PilBox?
<Regenaxer>
Something must go wrong there. Do you think you can debug?
<francogrex>
Regenaxer: hmm, it could be something simple but unfortuately i am not very good at debugging android projects. I can try later (see if i succeed)
<Regenaxer>
Thanks, this would be very helpfuL
<Regenaxer>
I cannot do it as it works here everywhere
<francogrex>
:) ok i will give it a try
<Regenaxer>
If you call 'termux-share' with the APK, what happens?
<Regenaxer>
Some error message?
<francogrex>
no, works like you showed: $ termux-share ~/storage/downloads/myApp.zip &
<francogrex>
no errors
pierpal has quit [Quit: Poof]
<Regenaxer>
Simply does nothing?
pierpal has joined #picolisp
<Regenaxer>
BTW, I do it without '&' at the end (ie not in background)
<francogrex>
yes then I launch pilbox and nothing appears in the pil list
<Regenaxer>
Ah, so it indeed starts PilBox
<Regenaxer>
Very strange :)
<francogrex>
it's ok. we'll solve it sooner or later. meanwhile i am happy the REPL works fine and i can do some programming on android and use java api etc
<Regenaxer>
Good :)
<Regenaxer>
I go to sleep. Good night, and thanks for the help francogrex!
<francogrex>
good night. thank you.
francogrex has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
alexshendi has quit [Ping timeout: 276 seconds]
stix has joined #picolisp
fwirt[m] has quit [Ping timeout: 245 seconds]
clacke[m] has quit [Ping timeout: 276 seconds]
alexshendi has joined #picolisp
pierpal has quit [Ping timeout: 244 seconds]
fwirt[m] has joined #picolisp
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
stix has quit [Quit: stix]
clacke[m] has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Ping timeout: 276 seconds]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]