Re: Gforth not working in android 12 onward because of google changes
Bernd Paysan <[email protected]> Wed, 25 Oct 2023 18:02:27 +0200
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <3283347.aeNJFYEL58@liubei> |
Am Mittwoch, 25. Oktober 2023, 07:18:08 CEST schrieb Juraj B: > Hello! > > I have tried installing gforth from the play store onto my tablet which is > currently running android 12. > It worked as expected except for one thing: I tried to edit the .options > file. I couldn't find it. It's not created by default. If you want to put something in there, you need to create it. > My guess is that it's somewhere in Android/data, > which has been made impossible to edit from within android, the only way to > access it is from a computer, but since I have a samsung tablet, I can't do > that in linux, it is only possible with windows. You should be able to copy files from your computer using adb push (Android debugger). But yes, Googles attempt to turn Android into another iOS-like golden cage is a real problem. > Besides that, even if I > didn't have this problem, I'd still like to be able to start forth with the > options that I want without an external device. You can also create that file via Gforth directly: s" .options" r/w create-file throw value fd s" -m64M" fd write-line throw fd close-file throw It's not as comfortable as an editor, though, and I think, I have to add an editor sooner or later, because the way Android now cages their apps. > I was also unable to start > any of the examples as I couldn't locate them (again, my hunch is that > they're somewhere in Android/data). It would be nice to move those files > somewhere outside that folder, where they can be accessed by external apps, > such as file managers and text editors. Gforth can locate all these examples fine, use .fpath to show where it searches. It's like “First, they came for the headphone jack, and I didn't care, because I didn't use one. Then, they came for the SD Card slot, and I didn't care, because my new phone has enough memory. But finally, they disabled access to files by third party file managers, and then it was too late, because there's no competition beyond Google and Apple left“ There is some way within the app to open up access to its internal files, and I'll try to use that to open up Gforth's directories. It is just too silly. -- 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----- iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmU5PBQACgkQ9y2Uk5Mt oGdyow//aomux38P67cppc+/OBEgOS98VAGaYRUoajRPBQ+/nssWfusfPN+qVHxI pwlNzOu9s2ESpECGeBOvpWXlRnveaRxEOT2R0yrlHwVmP7ENJYtxg4Zb2gSJoyNE uRv52WOWrDswD2UNZNaF19zw5kW2jhoA3NB0s8EbEcrOoLoMIhGFJ4hOkhF7+Sqd 346OrKpJ62O1zcikEvRxNG5h3hzGPp3KMKLMtvRxHluZaaAqksO/iX1nJC1iuftx FQvfeOvsGmWa0PpMytrnAhiwu5W+bIbWGngvN3bn12ZchhLkaHd8ycB5NhoTXIFG nAv2u/VFWacdgoR/X7kXw3alXFycwJn+jBLEl+Gv4gSm0zn+Nt3g7Sc4Nd1fmh4j l/peehq+FElH1QlJH8m4k/ickyoNl9SYrK+A51aYLlKKw/Z8U1vNYoJKnh/m4U/f 9O7HFa8C/9Cr25BVwKnyYqjdEhqfQ6igVgkuiMNO++wt48VVV4bA5NCTT5rYEIJL wlXqE1PEuk2DqUGRdcvb/F5LCFTotHWeZg0M9BwpIHtpK8twye2y/PhWuGI4cdsQ dqE4wsSQ7NRUzaCsBzOwBUgyeFH8jms96a/FX7i6ugv0CtECZ7FFK++lOb88ebcW JaiXZVeFcS/7+J7P/wC4Vt7mlluO6kYNgr+8yrVcElTdSUCR4es= =pKwa -----END PGP SIGNATURE-----