I'm also doing a lot of J on my phone.
I also recently switched phone (Samsung though), but got my favorite setup
running:

As keyboard I use messagEase, which takes some getting used to, has some
quirks, but lets you very easily input all characters and numbers, without
always having to switch modes.

The J android text editor is pretty much pain to work with, in comparison
to jqt or other editors.
I mostly use Vim in Termux (a linux-like environment you can get from the
Google Playstore), but of course you could install whatever text editor you
want (termux offers emacs as well).
Termux has the advantage that it allows you to run jconsole easily, if you
define an alias (can be put in your ~/.bash_profile.sh):
alias
jcon='/data/user/0/com.jsoftware.j.android/app_jandroid/libexec/arm64-v8a/jconsole'

jcon will not work at this point, because it's missing (somehow, don't know
why) a library that you can extract from the apk you used to install J, as
I was kindly shown by Joe Bogner recently (Here I assume it's in downloads,
and that you have run termux-setup-storage)

mkdir tmp                                                            cd tmp
cp ~/storage/downloads/jandroid.apk ./ unzip jandroid.apk
cp lib/arm64-v8a/*
/data/user/0/com.jsoftware.j.android/app_jandroid/libexec/arm64-v8a/

at this point jcon should work. It throws a "file access error", but it
seems harmless. I did not have this error when still on my old Android
8-9-10 phone.

I'm using tmux to multi-task between jconsole and vim. I find it very nice
to have all my favorite Linux tools at hand on my phone.
I hope this is useful to you too!

Best regards,
Jan-Pieter

On Sat, 19 Feb 2022, 18:58 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