Open bbigras opened 3 years ago
You can try and play around with the am
script available in standard termux installation.
$ cat /data/data/com.termux/files/usr/bin/am
#!/data/data/com.termux/files/usr/bin/sh
export CLASSPATH=/data/data/com.termux/files/usr/libexec/termux-am/am.apk
unset LD_LIBRARY_PATH LD_PRELOAD
exec /system/bin/app_process / com.example.termuxam.Am "$@"
But it seems to rely on the apk to be available anywhere..
https://github.com/termux/termux-packages/blob/master/packages/termux-tools/termux-open-url
I don't seem to have the "am" command.