Replies: 1 comment 31 replies
-
@fornwall @Grimler91 @wmcbtech30 @agnostic-apollo |
Beta Was this translation helpful? Give feedback.
31 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now Termux has termux-api package which helps us with using Android's API's without writing Java code. But it has restrictions:
Draw over apps
permission. ([Bug]: am reports ActivityManager.START_SUCCESS but activity is not launched TermuxAm#7). Pay attention that it is imposibe to check if we in foreground or check if we have this permission.Termux::API
application from Google Play or F-Droid.Termux::API
andTermux
applications should be signed with the same key.I propose the following scheme:
0. Make
termux-api
service a part oftermux-app
to fix termux/TermuxAm#7.I prefer to use libwayland as IPC because:
0. We can use our IPC as C/C++ library so we can let C/C++ programs to use Android API's (or bindings) without using
termux-api
or other bash scripts.termux-app
version is outdated.Context
so we can check/ask all the permissions at package installation time (it can be asynchronously, no need to wait while pkg is working) and in runtime (in target program).termux-gui
also can be reimplemented here...What do you think about this?
Beta Was this translation helpful? Give feedback.
All reactions