I've preferred Android phones and tablets for years, so I'm happy to answer
what I can.  I use the Hacker's Keyboard, so I don't have experience with
the ones in the J distribution.

There are two issues with files which could cause problems. One is since
Android 9 or 10 you have to give J permission to read files. Since I
installed J903 on to of a version that had already had access, I didn't see
an error after the last J install. Since Android 11, there has been a
security crack down on any access to files in
   /storage/emulated/0/Android/data
I've found two file managers which can override this. I use
   Mixplorer silver file manager
and I can explain how to remove the security lockdown if you are interested.

The only problem I still have with J on Android 11 and above is the code
that calls external apps calls
    android_exec_host
which uses depricated Java code, so browse_j_ and xedit_j_ return without
launching their intended app.


On Sat, Feb 19, 2022, 9:58 AM J. Patrick Harrington <[email protected]> wrote:

> I just recently replaced my old iPhone (a 6 Plus) with a new Google
> Pixel 6 Pro.
>
> It seems to be an impressive phone with a great camera. One of my
> motivations for not getting a newer iPhone was my desire to escape the
> increasingly locked-down Apple philosophy. I had problems moving files
> back and forth between my linux computer and the phone. I'm glad to
> report that I had no particular difficulty installing  J903 on the Pixel
> 6. The file locations are cumbersome; you need something like
>
>    Apath=:
> '/storage/emulated/0/Android/data/com.jsoftware.j.android/files/'
>
> in your startup profile. But the good news is that you just need a USB C
> cable between your Pixel and computer and you just drag and drop files
> to transfer them back and forth. I used to test the speed of J on phones
> by inverting a 500 x 500 matrix -- on my old iPhone it took 0.5 sec, but
> on this Pixel it's down to 0.046 sec. (Need to use a larger matrix, e.g.
> 1000 x 1000 -> 0.37 sec.) It took a bit of fussing to install the Dykman
> keyboard but now its there and works great. I noticed there was a 2nd
> keyboard available but I haven't tried it. How does it differ? I must
> say that though I ran J programs on the iPhone, I seldom developed
> anything on it. But J903 on this Pixel 6 is so smooth that I've started
> writing (short) routines on it and copying them back to the laptop.
>
> My real reason for writing this report is ask for pointers to any
> discussions regarding J on android phones. The android OS is completely
> new to me. One glitch I encountered was when I modified a J routine with
> a text editor I'd installed on the Pixel. I got a strange file read
> error. It looked like the editor did something invisible to the file
> that ruined the J session -- all my definitions were gone and I had to
> kill J and restart. But if I made the file changes on the laptop and
> ported the file over, it was fine. Any suggestions for a good text
> editor for android? (I'm an old school vi guy, but I've not found a good
> plane vi.)
>
> Anyway, I appreciate any pointers of discussions of J on android...
>
> Patrick
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to