Re: pilbox file sharing

2021-01-18 Thread Alexander Burger
Hi Shaughan, Wilhelm,

Hi On Tue, Jan 19, 2021 at 03:49:45AM +, Shaughan Lavine wrote:
> Yes: Android 10 vs 9. So, how do I get files out of pilbox on Android 10?

Hmm, I do have Android 10 here, and I can access files on external storage with
PilBox Version 20201231 without problems. (Perhaps a stupid question, but you
did enable the permission in Settings/Apps/PilBox, right?)


On Mon, Jan 18, 2021 at 08:22:13PM -0800, Wilhelm Fitzpatrick wrote:
> If you are using the Play Store version, that
> we might have to lobby Alex to make an update
> that sets this flag, which he should be able

This would not be a problem.

> to do as long as he has not already set the
> the target API version of the published app to
> 30. If a version with target API 30 has
> already been published then we are past the
> point of no return.

In the long range, I will not be able te avoid API 30. I cannot bring my
customers to install from F-Droid, sadly.


> To cooperate with the storage access framework
> past API 29 is very tricky. Termux recently
> abandoned their Play Store distributed version

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

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


Re: pilbox file sharing

2021-01-18 Thread Wilhelm Fitzpatrick
If you are building your own pilboxes, it seems like the easiest way for 
now would be to add the requestLegacyExternalStorage flag to the app 
manifest, or bump the target API version down to 28:


https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage

If you are using the Play Store version, that we might have to lobby 
Alex to make an update that sets this flag, which he should be able to 
do as long as he has not already set the the target API version of the 
published app to 30. If a version with target API 30 has already been 
published then we are past the point of no return.


To cooperate with the storage access framework past API 29 is very 
tricky. Termux recently abandoned their Play Store distributed version 
and is only distributing through F-Droid in the future for just this 
reason (so they can continue targeting an older API version that does 
not yet enforce these restrictions). Pilbox may need to consider such a 
course for the future, if Alex isn't already doing it.


-wilhelm

On 1/18/21 7:49 PM, Shaughan Lavine wrote:

Wilhelm–
Yes: Android 10 vs 9. So, how do I get files out of pilbox on Android 10?
Thanks!
Shaughan
Sent from ProtonMail mobile



 Original Message 
On Jan 18, 2021, 7:32 PM, Wilhelm Fitzpatrick < raf...@well.com> wrote:


Is the one having issues a newer version of Android perhaps
(Android 10
or 11?)

Android has been locking thing down to require use of the Storage
Access
Framework in the most recent version of the OS, I believe.

-wilhelm

On 1/18/21 12:47 PM, Shaughan Lavine wrote:
> I have two Android devices running pilbox 20201231. On one,
access to
> /storage/emulated/0 works perfectly, but on the other, any
attempt to
> access /storage/emulated/0 (ls, mkdir cat, …) yields "permission
> denied." Storage permission has been granted. Any ideas?
> Thanks,
> Shaughan
>
>
> Sent from ProtonMail mobile
>
>

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



Re: pilbox file sharing

2021-01-18 Thread Shaughan Lavine
Wilhelm–
Yes: Android 10 vs 9. So, how do I get files out of pilbox on Android 10?
Thanks!
Shaughan
Sent from ProtonMail mobile

 Original Message 
On Jan 18, 2021, 7:32 PM, Wilhelm Fitzpatrick wrote:

> Is the one having issues a newer version of Android perhaps (Android 10
> or 11?)
>
> Android has been locking thing down to require use of the Storage Access
> Framework in the most recent version of the OS, I believe.
>
> -wilhelm
>
> On 1/18/21 12:47 PM, Shaughan Lavine wrote:
>> I have two Android devices running pilbox 20201231. On one, access to
>> /storage/emulated/0 works perfectly, but on the other, any attempt to
>> access /storage/emulated/0 (ls, mkdir cat, …) yields "permission
>> denied." Storage permission has been granted. Any ideas?
>> Thanks,
>> Shaughan
>>
>>
>> Sent from ProtonMail mobile
>>
>>
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: pilbox file sharing

2021-01-18 Thread Wilhelm Fitzpatrick
Is the one having issues a newer version of Android perhaps (Android 10 
or 11?)


Android has been locking thing down to require use of the Storage Access 
Framework in the most recent version of the OS, I believe.


-wilhelm

On 1/18/21 12:47 PM, Shaughan Lavine wrote:
I have two Android devices running pilbox 20201231. On one, access to 
/storage/emulated/0 works perfectly, but on the other, any attempt to 
access /storage/emulated/0 (ls, mkdir cat, …) yields "permission 
denied." Storage permission has been granted. Any ideas?

Thanks,
Shaughan


Sent from ProtonMail mobile




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


pilbox file sharing

2021-01-18 Thread Shaughan Lavine
I have two Android devices running pilbox 20201231. On one, access to 
/storage/emulated/0 works perfectly, but on the other, any attempt to access 
/storage/emulated/0 (ls, mkdir cat, …) yields "permission denied." Storage 
permission has been granted. Any ideas?
Thanks,
Shaughan

Sent from ProtonMail mobile

Re: PilCon Schedule

2021-01-18 Thread Alexander Burger
Hi Davide,

> What about making shorter seminars with a specific topic? It seems that
> this is the favored way by many people and could be recorded for the
> benefit of everyone.

That would be fine for me. So we should propose, collect, filter and sort
topics. Perhaps on a special Wiki page?


> These could be tutorial for beginners, showing small projects, community
> libraries, etc.

Beginner support is important. I feel that most discussions at PilCon were a bit
too advanced for many people.

> I would also keep some free Q sessions for shorter topics and general
> questions (like we have done till now)

That's the easiest for me anyway ;)

☺/ A!ex


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


Re: PilCon Schedule

2021-01-18 Thread Davide BERTOLOTTO
Oooops... I forgot to join this Saturday :-P

Anyway, in general any day is fine for me, even if I may not be able to
attend every time.

What about making shorter seminars with a specific topic? It seems that
this is the favored way by many people and could be recorded for the
benefit of everyone.
These could be tutorial for beginners, showing small projects, community
libraries, etc.

I would also keep some free Q sessions for shorter topics and general
questions (like we have done till now)

Regards,
Davide

On Mon, Jan 18, 2021, 08:35 Alexander Burger  wrote:

> Hi all,
>
> before and after the PilCon last Saturday the discussion about its
> schedule came
> up again.
>
> Currently we meet at the first and third Saturday each month, at 8:00 UTC
> on the
> first, and 16:00 UTC on the third.
>
> Before, we used the first and third Friday.
>
> It seems that Saturdays are not optimal. Many people have other duties. In
> general, it is not possible to find a certain weekday where everybody can
> attend.
>
>
> So what if we discard the principle of weekdays, in favor of fixed *days*?
>
> I would propose the 10th and 20th of each month.
>
> This is easy to memorize, and will fall on all weekdays over time. The 10th
> would be at 8:00 UTC, and the 20th at 16:00 UTC.
>
> For me this would be all right, as I'm working from home office.
>
> What do you think?
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>