Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there something like termux-open-url with nix-on-droid? #118

Open
bbigras opened this issue Jun 18, 2021 · 1 comment
Open

Is there something like termux-open-url with nix-on-droid? #118

bbigras opened this issue Jun 18, 2021 · 1 comment

Comments

@bbigras
Copy link
Contributor

bbigras commented Jun 18, 2021

https://github.com/termux/termux-packages/blob/master/packages/termux-tools/termux-open-url

I don't seem to have the "am" command.

@Gerschtli
Copy link
Collaborator

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants