Commit Graph

56 Commits

Author SHA1 Message Date
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