Commit Graph

173 Commits

Author SHA1 Message Date
Deve
4ab33fec8c Small fix for build-tools directories without numbers 2020-06-18 23:28:05 +02:00
Benau
6d30bb8f05 Update android with latest libjpeg, libpng and zlib and remove bundled libraries 2020-05-14 10:13:57 +08:00
Benau
52cf0f16d1 Fix compilation with latest SDL2 2020-05-14 10:07:35 +08:00
QwertyChouskie
a776650986
Modern skin (#4265)
* Modern skin
The culmination of years worth of work!  Thanks to all who helped make this as amazing as possible!
PNGs were ran through `pngquant` then `optimize_data.sh` for maximum smallness

* Shrink a multitude of icons
Ran through `optipng` then `optimize_data.sh`
2020-05-08 01:16:55 +08:00
Benau
c8d9383d6a Allow erasing stun server by using zero weight in dns record 2020-05-07 09:19:41 +08:00
Benau
abfb9e535c Allow gamepad without mapped buttons to use scan code directly in android 2020-04-21 18:07:43 +08:00
Benau
5faa856b0e Fix keyboard arrow binding bug 2020-04-21 16:33:34 +08:00
Benau
8f9fc8f7fe Handle all input events in java 2020-04-21 15:47:04 +08:00
Benau
bae2262bd9 Add SDL2 to android 2020-04-21 15:28:02 +08:00
Benau
932f0f888e Avoid updating editbox if hardware keyboard connected which discards all input 2020-03-15 13:58:51 +08:00
Benau
364936e37b Allow getting stun server list using SRV records 2020-03-15 10:05:13 +08:00
Benau
7598dc7b37 Use minidns for android to fix starting crash 2020-03-13 21:31:33 +08:00
Benau
8b197b4a15 Fix linking error in x86 android 2020-03-11 16:41:31 +08:00
Benau
c542feaf4d Include all tracks by default using android app bundle 2020-03-06 10:37:01 +08:00
Benau
6630f21295 Allow building with latest ndk 2020-02-29 01:18:09 +08:00
Deve
bf5ebef481 Allow to set input/output dir for generate assets script 2020-02-23 00:41:59 +01:00
Benau
39821e9ad3 Allow compiling mcpp with android 2020-01-03 13:25:26 +08:00
Benau
82986bdeaa Add pumpkin park to android 2019-12-19 01:44:06 +08:00
Benau
74cd74f869 Avoid android java crash when opening url 2019-12-16 09:29:24 +08:00
Deve
8a26ae009e Add adaptive icon for newer android versions 2019-11-21 22:21:03 +01:00
Deve
4b817e6e90 Include xxxhdpi icon for android 2019-11-17 22:18:50 +01:00
Benau
ab3d8ef415 Implement link helper for android 2019-10-28 16:47:05 +08:00
Deve
030bc38516 Generate full assets in android builder 2019-10-15 01:04:56 +02:00
riso
31d4f05552 fix linking order: libpng before libz 2019-10-13 09:47:45 +02:00
Deve
674cfff070 Remove/extract new data only if apk has assets 2019-10-12 00:22:55 +02:00
Benau
c705b8fe80 Enable IPV6 in android 2019-08-21 14:59:13 +08:00
Deve
05684c92dc Update target sdk version 2019-07-25 23:23:14 +02:00
Deve
61f6e354a8 Add a possibility to change generate assets options using environment variables 2019-07-25 22:09:41 +02:00
Deve
75afb5e90b Fixed continue without a loop in generate assets script 2019-07-25 21:56:16 +02:00
Benau
8c00a1e857 Share the override default params with android 2019-07-13 14:22:22 +08:00
Deve
23c3736bd5 Optimize png files to make apk < 100MB 2019-06-29 00:07:47 +02:00
Benau
461310dfba Fix android build 2019-06-26 16:12:22 +08:00
Benau
074039d2c5 Use a better image resize code
The box filter from irrlicht produces wrong brightness when using with
different size
2019-06-23 01:02:05 +08:00
Benau
64a28f5650 Move check_error after make to check correctly 2019-06-14 22:46:35 +08:00
Deve
c8099cd11d Fixed android compilation 2019-06-12 10:00:17 +02:00
Benau
c5f3f3aecf Update android build script for new libraries 2019-06-10 13:54:10 +08:00
Deve
4c4b6eda3a Merge branch 'gradlew' 2019-06-05 23:02:44 +02:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Deve
c5d681dcc7 Remove ant support 2019-06-04 22:28:24 +02:00
Deve
7129e36901 Use gradle wrapper to avoid compilation errors on some systems 2019-06-04 22:23:07 +02:00
Benau
d487a2e72e Clear text when closing keyboard if onEnterPressed returns true 2019-05-28 15:21:06 +08:00
Benau
391b61be95 Fix highlighting of composing text in the middle of sentence 2019-05-28 14:24:45 +08:00
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