Commit Graph

181 Commits

Author SHA1 Message Date
Benau
2744a24951 Don't set input type if it's the same as old one
It breaks Gboard word correction if you change cursor in screen
2019-05-28 00:53:53 +08:00
Benau
1d5e80c131 Add cap sentences for chat
Can be disabled in per keyboard setting in system configuration
2019-05-28 00:43:08 +08:00
Benau
336300b997 Allow showing different soft keyboard in android 2019-05-27 16:34:16 +08:00
Benau
420c51955e Handle action next with STK properly 2019-05-27 15:51:36 +08:00
Benau
e24f95eefa Make sure STKEdit focus is gone when not needed 2019-05-27 14:25:08 +08:00
Benau
febad27342 Prevent copying text to non focused widget in STK.
It can happen if user uses the arrows in hacker keyboard to change
widget focus
2019-05-27 11:09:28 +08:00
Benau
678d3cdf81 Fix Gboard selection 2019-05-27 00:39:00 +08:00
Benau
34e680bfbd Allow copying from STK edit box to android edit text 2019-05-25 22:19:15 +08:00
Benau
e1a7901c4c Add callback before hiding the soft keyboard 2019-05-25 13:34:36 +08:00
Benau
e6d5346e5e Allow copying java EditText to STK editbox 2019-05-25 00:40:37 +08:00
Benau
27f0f8c961 Move hideNavBar to java for native android keyboard 2019-05-21 16:31:59 +08:00
Deve
21f148bea2 Update gradle plugin version to avoid error in release build.
Now it needs gradle >= 4.4
2019-05-20 22:30:17 +02:00
Benau
d5246e5291 Move the screen and touchscreen events horizontally for screen keyboard 2019-05-21 01:46:14 +08:00
Benau
766c971339 Try to save keyboard height for moving screen with it later 2019-05-19 17:41:51 +08:00
Benau
ede56a3cf8 Move show and hide keyboard to java memeber function 2019-05-18 15:35:25 +08:00
Benau
0e1c0d1541 Allow handling ACTION_MULTIPLE for unicode and voice message 2019-05-18 09:15:58 +08:00
Deve
a742d17fd1 Fixed build with gradle 4.4 2019-04-26 00:11:49 +02:00
Deve
0dcaaa871a Don't convert kart textures to jpg on android.
Some karts look much better and there is enough space in apk.
2019-04-04 22:06:59 +02:00
Deve
ee1fede8d8 Add ravenbridge mansion to the apk 2019-03-15 22:06:35 +01:00
Deve
7ab4edf8d4 Set activity launch mode as single task 2018-12-09 22:50:20 +01:00
Deve
88a1dcc724 Add more tracks to the apk 2018-11-27 21:57:44 +01:00
Deve
d59f2fdca6 Small clarification in android readme 2018-11-15 21:44:33 +01:00
Deve
571d3d3ba0 Minor optimization for assets extraction 2018-10-25 22:17:35 +02:00
Deve
2ef3980009 Update tracks list after recent typo fix 2018-10-20 11:23:03 +02:00
Deve
5bed082b86 Add more arenas to the apk 2018-10-19 23:24:16 +02:00
Benau
b4d9b43a52 Use Nettle in linux if found 2018-09-01 01:05:22 +08:00
Deve
0f4023a39c Add a path to zlib when building curl for android 2018-08-06 23:04:40 +02:00
Deve
bd5d2f1c2a Use theme that works better with hidden navbar 2018-07-27 20:43:32 +02:00
Deve
ef27fdaba8 Fixed a crash on exit 2018-07-27 00:05:39 +02:00
Deve
a08cccceaa Use our copy of native app glue 2018-07-26 22:20:53 +02:00
Deve
a1168d49db Minor fix for more consistency in android make script 2018-07-14 00:03:09 +02:00
Deve
30b1799b6e Fixed minor bug in android build script 2018-07-11 21:35:40 +02:00
Deve
b531858ddb Fixed sound on android 2018-07-10 22:23:22 +02:00
Deve
c889503d7b Fixed wrong comment 2018-06-19 21:59:09 +02:00
Deve
b430a0e5bf Huge improvement of apk file size thanks to Alayan.
The apk is now 20 MB smaller.

It may need some testing to see if there are no artifacts, but as far as I see there is no difference in quality.
2018-06-19 21:40:26 +02:00
Benau
402e447ba1 Merge remote-tracking branch 'origin/master' into aes 2018-06-05 10:21:55 +08:00
Deve
6e7b2a2ecd Remove write media storage permission from android manifest.
This permission is not officially available in documentation and it was a hack for some devices that have access to sdcard only on system applications.
2018-06-04 22:24:26 +02:00
Deve
4275dbdac6 Fixed android build 2018-06-04 22:24:26 +02:00
Benau
b43a5e4d18 Add AES encryption and validation for wan player 2018-06-02 12:28:29 +08:00
Deve
bc9660a81c Use known working java version for building apk if possible.
It fails to build with newer versions, so that on different systems you may need to set JAVA_HOME manually.
2018-04-26 21:48:59 +02:00
Deve
fdea04f34c Simplify setting android project version 2018-04-19 21:05:27 +02:00
Deve
26d15e9d8b Update android project after recent modifications related to STK project version 2018-04-19 00:25:22 +02:00
Deve
c23f1bbc5b Fixed a bug in generate_assets script 2018-04-17 23:57:10 +02:00
Deve
3f69fd37ed Some improvements for touch device 2018-04-10 00:22:09 +02:00
Deve
4b5c3a37fd Increase target sdk version 2018-04-05 22:18:11 +02:00
Deve
900beae4b2 Allow to create x86_64 android package.
64-bit packages will be required by google.
2018-03-18 21:56:36 +01:00
Deve
fd14c7fa91 Update android tv banner.
Thanks to Mr.XX99 for his work.
2018-03-12 21:49:09 +01:00
Deve
34f0f8c239 Fixed a bug with red light in thunderbird model on android 2018-02-25 22:17:53 +01:00
Deve
5e8343a068 Add basic gamepad support for android 2018-02-08 01:24:35 +01:00
Deve
a755dae85f One more fix for android tv 2018-02-06 22:35:46 +01:00
Deve
8fd52cd8e3 Fixed android compilation with different sdk version 2018-02-06 22:35:46 +01:00
Deve
14c7d757ad More work for android TV.
If you want to make better banner, then you are welcome!
2018-02-05 22:11:09 +01:00
Deve
12723239a7 Use higher target sdk version for android.
It should help STK on Android TV and it still works for me on Android 4.4 under emulator.
2018-02-04 22:37:02 +01:00
Deve
ff884852d7 Don't hardcode stk data dir on android 2018-02-03 22:18:42 +01:00
Deve
31f8b7ec35 Allow to install debug version without uninstalling release version on android 2017-12-22 21:51:41 +01:00
Deve
2b8737a75b Remove known issues from android readme.
We can use github issues for it.
2017-12-12 23:07:01 +01:00
Deve
28f81b2a85 Allow to move installed apk to sdcard 2017-11-08 22:06:58 +01:00
Deve
2e96a29977 Ignore some configuration changes that don't matter for us.
The "orientation" without "screenSize" was a clear bug. And now connecting external keyboard doesn't close STK for me anymore.
2017-11-04 22:08:42 +01:00
Deve
f034b3c22b Add tracks for apk 2017-10-17 23:34:19 +02:00
Deve
1454e53b79 Set proper min sdk version for 64bit build 2017-10-16 21:31:17 +02:00
Deve
e05ef71b77 Make it clear that NDK >= r15b is atm. not supported 2017-08-29 22:00:45 +02:00
Deve
bd84929982 Don't convert gloss maps.
It causes artifacts when advanced lighting is enabled.
2017-08-21 11:30:49 +02:00
Deve
ad062d3b81 Fixed indentations 2017-08-17 00:11:25 +02:00
Deve
3cf8649a6e More work with generate_assets script.
Now uncompressed tux with .spm takes just 350 kb.
2017-08-17 00:11:25 +02:00
Deve
196fe378b4 Fix for png->jpg converter.
It's possible that there are multiple file names in single parameter, for example:
<sky-box texture="0006.png 0001.png 0004.png 0002.png 0003.png 0005.png" ... />
now it should work.

Also use is_opaque rather than has_alpha that gives better results.
2017-08-15 23:03:22 +02:00
Deve
8fa0e4e7b3 Make it less verbose 2017-08-15 10:12:56 +02:00
Deve
4da945f710 Move duplicated code to separate function 2017-08-15 10:12:56 +02:00
Deve
0a2d05a998 Add a possibility to convert png->jpg for spm format for smaller apk 2017-08-15 10:12:56 +02:00
Deve
b6df36fc39 Don't hardcode build-tools version 2017-08-06 23:15:08 +02:00
Deve
bbee93dfe8 Update readme and generate_assets script.
The issues on android 4.4 + qualcomm should be already fixed in 8653d410f8 and d44802a482

I also added few lightweight tracks and karts to the apk
2017-07-14 22:04:52 +02:00
Deve
2bdce1994c Minor fix in android build script 2017-07-04 22:57:59 +02:00
Deve
076d1f2b62 Save few more mbytes in the apk 2017-06-27 21:20:38 +02:00
Deve
8f70b74db9 Some tweaks in generate assets script 2017-06-24 01:11:58 +02:00
Deve
ae19ade5e5 Add gradle support to android build script 2017-06-13 22:06:53 +02:00
Deve
e11641cd43 Minor correction in generate_assets script 2017-06-08 21:44:17 +02:00
Deve
f2e2ebb259 Update readme 2017-04-09 21:48:15 +02:00
Deve
9bde708155 Tweak generate assets script to save few Mbytes in the apk.
Musics are still not-that-bad while they take less space.
2017-04-02 00:19:13 +02:00
Deve
eeb7c8f5de Added a support for release builds 2017-03-05 22:02:50 +01:00
Deve
be67fb1df9 Update readme 2017-03-05 08:55:35 +01:00
Deve
e316df1807 Update readme 2017-02-11 14:40:54 +01:00
Deve
803eba5d5c Fixed typo 2017-01-27 22:44:22 +01:00