Re: Gforth not working in android 12 onward because of google changes

Bernd Paysan <[email protected]> Wed, 25 Oct 2023 23:35:08 +0200
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <1993312.usQuhbGJ8B@liubei>
Am Mittwoch, 25. Oktober 2023, 18:47:01 CEST schrieb Juraj B:
> Awesome, that helps a lot, but it seems I forgot to ask - is there a way to
> load external files?
> Something outside of forth's data folders? I'm sure gforth can ask for
> filesystem permissions somehow.

Gforth DOES ask for full file system permissions.  Well, before Android 11, 
when asking for that permission always failed.  It also gets the different 
external files dir pathes, and tries to access them, in order from most 
permissive to least permissive, and takes what it gets.

I think I should add getExternalCacheDir to this list, as this cache is still 
world-read/write-able, and I hope that can solve this trouble.

> I'm very forgetful, I also would like forth to be able to open .fs files as
> like one of those "open with app" things. I don't know what that's called.
> Is that possible somehow?

Probably, with an intent-filter.  I'll check what's needed to handle this.  I 
think the actions should be VIEW, EDIT (when the editor is added) and RUN.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmU5igwACgkQ9y2Uk5Mt
oGcO/w/9EKW6wW1ulE2e1oUsokF8FHT9i28RRLmu/Buumxqmc0ld/oDHZBGc9UgB
RoaOWgUnhfPcT0XZIV65zWLvX/ethQ0d5D86V8cc6G1WFKXc30Y83cX9r+1sqZ96
noZrR5/awS2AO3o0hAkmML7oZMmwCj/4gOPc3U68xUwyAXO2UQmazxxJuBe6mz/z
UlKiQkBLUE+aCtFwV3Yl1RdHZInuTRHcae/xSE1YHr0ArWLmZOFpQvAd1bFyY1LO
Z02+VJXqFbvXX80gpNeuO0HtEPwOtcI9v+6zQH2QpWe7Y2vqU1ltesmyzyA8ajNo
6D1wVNv0S/nWD77ILQoK6fKK2011tn1tvgn9+FaWzq99WB3R4Gz69RdfLydMerU+
DAwbr7x0+6CLTxDrtbTLa/1kcOYIh/jnbAXTV6V2/pltNr6ZwAuSRu9k1l6WJEs+
+phFWD7q3DjgCd756hZH38HEuK2dYQnpRbxizM9hP32klVILKEnbSgg89oDKkH+O
6v9H7mpCGzApgIxCYPPWOuXBMBeKJtY2nNjn5tecslqQZrODaaGNt9h32pTa66A8
FLXRSMv+tVuDNOMiL8uqmr1ISaPsf5VNgZoAjMh7sZUGArpK9Tgx5kYmeqnbEhT2
DbDkag/o0aI6Ob+ZUYCfxIr6M1x+Z6m5/TycF7cVKenfMKbpAkE=
=KcwG
-----END PGP SIGNATURE-----