step2: install emacs in the os (termux-app)
pkg add emacs git vim cmake ripgrep aterm aspell automake curl libtool imagemagick netcat-openbsd
step3: how to open url through your firefox app
M-x open-url-at-point-with-script-on-android
This source forge repo has custom build Emacs and termux so that you can use termux tools inside the emacs, also i am able install third party packages like which key, doom mode line
I tested custom build Emacs on source forge, it can support display inline image
I can show people how cool it is.
My experience is: it is not perfect compared to running in terminal.