Robert Vanden Eynde
af7515247b
Fix refactoring, Ctrl, Alt, Fn keys work again
2018-08-28 02:34:36 +02:00
Henrik Grimler
ec77be00dc
state -> SpecialButtonState state
2018-08-28 02:34:36 +02:00
Henrik Grimler
a854960476
Declare buttonText final String, dont't change value inside reload
2018-08-28 02:34:36 +02:00
Henrik Grimler
9db8948f23
Fix typos and build errors
2018-08-28 02:34:36 +02:00
Robert Vanden Eynde
c24167f6a5
Use utf-8 for config, Activate defaultCharDisplay, Fix Typo
2018-08-28 02:34:36 +02:00
Robert Vanden Eynde
49c051c8b7
Fix Typo (KeyEvent.KEYCODE_DEL and others)
2018-08-28 02:34:36 +02:00
Robert Vanden Eynde
55efdb2f56
Refactor Ctrl, Alt, Fn code
2018-08-28 02:34:36 +02:00
Robert Vanden Eynde
d03e420e75
Use LEFT instead of arrow keys in config, and include arrows characters for special keys (will be easily changed in the properties after)
2018-08-28 02:34:36 +02:00
Henrik Grimler
06968a9295
Extrakeys: fix typo
2018-08-28 02:34:36 +02:00
Henrik Grimler
244248b1a0
Extrakeys: make ― the same as - in some more places
2018-08-28 02:34:36 +02:00
Henrik Grimler
7187ed6950
Extrakeys: fix rebase error
2018-08-28 02:34:36 +02:00
Henrik Grimler
b3eabd9bad
ExtraKeys: fix so app doesn't crash if ctrl/alt aren't in extrakeys
...
Otherwise we get:
AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.widget.CompoundButton.isChecked()' on a null object reference
AndroidRuntime: at com.termux.app.ExtraKeysView.b(SourceFile:128)
2018-08-28 02:34:36 +02:00
Henrik Grimler
b51dd4f558
Extrakeys: show extra key row per default
...
Might help new users.
2018-08-28 02:34:36 +02:00
Henrik Grimler
f88b9c4629
ExtraKeys: add possibility for insert, delete, enter and -
2018-08-28 02:34:36 +02:00
neverwin
f0eeb4781b
add support of configurable extra keys
2018-08-28 02:34:36 +02:00
Fredrik Fornwall
57a3a9b111
Request the FOREGROUND_SERVICE permission
...
From https://developer.android.com/guide/components/services :
"Apps that target Android 9 (API level 28) or higher and use foreground
services must request the FOREGROUND_SERVICE permission. This is a
normal permission, so the system automatically grants it to the
requesting app.
If an app that targets API level 28 or higher attempts to create a
foreground service without requesting FOREGROUND_SERVICE, the system
throws a SecurityException."
2018-08-26 01:07:33 +02:00
Leonid Plyushch
963663e0cd
close sessions without waiting for user input except the last one
...
An attempt to deal with these issues:
* https://github.com/termux/termux-app/issues/627
* https://github.com/termux/termux-app/issues/56
2018-08-11 23:09:16 +02:00
Lokesh Krishna
68a83ccf37
replaces foreground and background layers with nord color variants
2018-08-06 21:53:30 +02:00
Lokesh Krishna
db13ea02b6
Adds foreground and background layers
2018-08-02 00:41:18 +02:00
Lokesh Krishna
61a44dbfa8
Adds alternative drawable resource
2018-08-02 00:41:18 +02:00
Leonid Plyushch
b7864d6ac2
deleteFolder(): check if passed argument is a symlink
...
Prevents possible data loss when user replaced directory '~/storage' with
a symlink.
2018-07-01 18:00:54 +02:00
David xu
2b6a10712b
fix button background and row height bug in api 21
2018-06-29 12:30:02 +02:00
Leonid Plyushch
d3b4d35b2a
deleteFolder(): don't treat symlinks as directory
2018-06-25 14:08:28 +02:00
Tom Yan
b4e2c99d46
Stop exporting PS1
...
PS1 is not supposed to be an env var and should be shell-specific.
We will set it appropriately with the init files of the shells.
2018-06-22 01:11:51 +02:00
Quasic
c5923201a4
fix indent with vim on termux
...
web interface would have worked, if I had deleted the tabs, first
This vim is adding tabs instead of matching the previous line's
indentation. Looking into fixing that now...
2018-06-22 00:33:35 +02:00
Quasic
bafd21bb39
fmt indentation
2018-06-22 00:33:35 +02:00
Quasic
0f20fab02c
I think this is it
2018-06-22 00:33:35 +02:00
Quasic
c5ae5bb06a
oops, should have local Java
2018-06-22 00:33:35 +02:00
Quasic
bbd46a763c
Fix for #572 using recursive delete
...
Also see #578
2018-06-22 00:33:35 +02:00
David xu
dc145d65f8
minify long press interval
2018-06-22 00:29:51 +02:00
David xu
f2f7f963e6
feat for - ―
2018-06-22 00:29:51 +02:00
David xu
2e53ef038e
fix popup bug
2018-06-22 00:29:51 +02:00
xqdoo00o
8c82f43dce
delete unnecss code
2018-06-22 00:29:51 +02:00
david
3a16f461e7
add symbol popup
2018-06-22 00:29:51 +02:00
xqdoo00o
594a5dfe25
comment unnecss code
2018-06-22 00:29:51 +02:00
david
d5e007dbb3
feat button color
2018-06-22 00:29:51 +02:00
david
f4335d3824
add some functional keys
2018-06-22 00:29:51 +02:00
David Kramer
3bb2849a88
Sends broadcast on app open to notify addon termux receivers
2018-06-18 13:06:34 -06:00
Fredrik Fornwall
8472fce8ba
Use lower when looking up mime type from extension
...
Fixes #721 .
2018-06-15 00:19:47 +02:00
Marcel Dopita
8d7a67645b
Fix notification icon color
...
Icons used in notifications/status bar are monochrome and should use only white color and transparency. It is displayed fine on Android emulators but it's shown in black on Samsung Galaxy S7 running Android 7.0.
After the change, status bar icon is white and the small icon in notification still uses the black color set via setColor(). Termux doesn't support devices running Android older than 5.0 but using white color in vector drawables would be also necessary to generate proper (white) bitmap icons.
2018-01-01 23:17:22 +01:00
Fredrik Fornwall
d8e6fd21d1
Set android:resizeableActivity="true"
...
Setting android:resizeableActivity="true" should AFAIK not be needed
as https://developer.android.com/guide/topics/ui/multi-window.html
states that:
If your app targets API level 24, but you do not specify a value
for this attribute, the attribute's value defaults to true.
However, on a Galaxy S8 running Android 7.0 this attribute is needed
in order to have resizeable windows when in Samsung Dex mode.
Fixes #309 .
2017-12-08 23:30:45 +01:00
Fredrik Fornwall
de4f334e24
Remove the fullscreen setting
...
Trying to use fullscreen doesn't work well in a multi-windowed world
and makes using translucent navigation and status bars more complicated.
2017-12-07 01:46:16 +01:00
Fredrik Fornwall
b29b24f507
Add android.max_aspect=10.0 metadata
...
This is needed to mark the app with
"This app is optimized to run in full screen"
when run on a Samsung Galaxy S8.
2017-12-07 01:39:43 +01:00
Fredrik Fornwall
8b566485e8
Do not clear the sessions on ACTION_STOP_SERVICE
...
There is no point doing so and it may cause problems with the list
adapter.
2017-11-26 00:56:13 +01:00
Fredrik Fornwall
65f30e77ba
Add tools:ignore="AppLinkUrlError"
2017-11-25 22:59:03 +01:00
Fredrik Fornwall
85037a75a6
Remove redundant cast
2017-11-25 22:58:23 +01:00
Fredrik Fornwall
a4e4f76775
Remove some Android Studio warnings
2017-11-22 01:27:14 +01:00
Lauri Tirkkonen
dd502e55f8
set default notification priority to low
...
since we're a foreground service, in oreo we already get a higher
priority; see
https://developer.android.com/reference/android/app/NotificationManager.html#IMPORTANCE_MIN
2017-11-12 23:44:14 +01:00
Fredrik Fornwall
798125ef7a
Remove outdated comment
2017-11-12 23:06:28 +01:00
Fredrik Fornwall
694ccc38c4
Remove WakefulBroadcastReceiver usage
2017-11-04 23:38:49 +01:00