Closed twaik closed 1 year ago
I can code
And we are proud of you man! ;)
I don't know which permissions you need, but you can use something like following. The TermuxConstants.TERMUX_X11_*
constants will be available when I push my local changes for termux-shared
. The PermissionUtils
provided by termux-shared
can be used to check and request the permissions. Maybe in the current main activity, if certain permissions are missing, then start the TermuxX11Activity
with buttons for each permission. The POST_NOTIFICATION
permission should now ideally be requested by the app for Android 13. If you declare it in AndroidManifest.xml
then android won't ask for it automatically, although I think targeting Android 13 may also be required for that, don't remember.
You are the best @agnostic-apollo .
I am not sure if I am planning to increase api level. It will break sharing unix socket and will likely break more things.
Lolz, you are welcome.
Yeah, that was just an FYI for termux-x11
. The termux-app
forks (in future) may use targetSdkVersion
> 28
, so I have to code and test things accordingly.
Where can I get @layout/partial_primary_toolbar
, @dimen/activity_vertical_margin
, @dimen/activity_horizontal_margin
, @style/ViewDivider
, @color/red_error
, @color/red_error_link
? I can create these values, but I am not sure they will fit here...
It looks nice.
I've added HELP button pointing to project's README (on github) so it is not needed.
Hi guys. It really looks like we need to create some activity which will be started at first launch or when application lacks of permissions. Is there someone who can draw this? I can code but I have no experience in drawing layouts...