Commit graph

68 commits

Author SHA1 Message Date
UnknownShadow200
37abd39163 Android: WIP load file support
No filetype filtering and is pretty terribly implemented, but seems to work
2022-10-16 15:11:04 +11:00
UnknownShadow200
0fae97ff00 Android: Fix not compiling in Android Studio 2022-10-16 14:00:01 +11:00
UnknownShadow200
9f94ec814b iOS: Add ios-specific app name, and fix User-Agent not being set to app name in http requests 2022-09-03 12:21:17 +10:00
UnknownShadow200
3fad0c7404 Mobile: Show Send text/icon on soft keyboard action button when opening keyboard for in-game chat input 2022-04-22 23:44:02 +10:00
UnknownShadow200
cd5f316383 Launcher: Fix clicking on checkboxes over and over not properly resetting previously drawn text, which resulted in some ugly artifacts 2022-03-12 20:50:38 +11:00
UnknownShadow200
8e61dbc18a Android: Try to fix 'unexpected status line' errors with texture packs from dropbox, addresses #933 2022-02-23 23:24:47 +11:00
UnknownShadow200
7b3feb90df Mobile: Adjust onscreen buttons to move into multiple columns instead of overflowing into jump/fly buttons and beyond 2021-12-27 20:23:56 +11:00
UnknownShadow200
48d31d3342 Fix last commit 2021-10-11 23:15:49 +11:00
UnknownShadow200
7584819595 Mobile: Split KEYBOARD_TYPE_NUMBER into KEYBOARD_TYPE_NUMBER and KEYBOARD_TYPE_INTEGER
Only makes a difference on iOS devices though apparently
2021-10-11 22:14:23 +11:00
UnknownShadow200
5898f4edef Android: Try to show crash dialog for Java unhandled exceptions
Doesn't seem to work for UI thread and the crash dialog contents is pretty much useless anyways, but at least it's something
2021-09-30 23:07:55 +10:00
UnknownShadow200
3d7054f90d Android: Fix crash dialog not showing most of the time 2021-09-30 20:12:13 +10:00
UnknownShadow200
9b9cc97336 Android: Fix after activity is recreated, you can't use on screen keyboard or go ingame anymore 2021-09-29 21:51:08 +10:00
UnknownShadow200
c21b7a93f3 Android: Fix after sometimes window was destroyed that the game would become permanently stuck and eventually show as not responding 2021-09-29 21:08:16 +10:00
UnknownShadow200
4515316c90 Android: Make http methods of Activity class static 2021-09-29 11:58:50 +10:00
UnknownShadow200
cf788603fc Android: Make events queue static so it persists across activity create/destroy, fix not compiling 2021-09-18 09:44:05 +10:00
UnknownShadow200
b8dc2b3b80 One more step to recovering from config change, fix not running at all 2021-09-17 09:06:08 +10:00
UnknownShadow200
53077d36d9 Android: Revert render over display cutout support, as it causes the onscren keyboard on modern android devices to no longer resize the game view to be smaller (thanks Program)
e.g. can't see in-game chat input due to it being covered by the onscreen keyboard
2021-08-29 10:12:49 +10:00
UnknownShadow200
6e433e5585 Forgot that NoSuchFieldError derives from Error not Exception 2021-08-21 10:36:36 +10:00
igor725
f34faa2ed2 Consistency fix 2021-08-14 04:00:27 +03:00
igor725
6033d5d794 Android: Display cutout fix 2021-08-14 00:30:12 +03:00
UnknownShadow200
1ca0b4e636 Android: Pause music when in background, instead of muting 2021-07-31 11:52:55 +10:00
UnknownShadow200
b5bbd35727 Fix not compiling with android studio, see #864 (Thanks codingwatching) 2021-07-08 21:04:58 +10:00
UnknownShadow200
b8b29dfb07 Android: Fix deleting blocks when double click to join from server list 2021-05-15 15:31:24 +10:00
UnknownShadow200
0daa115ed0 Android: Fix dialogs not blocking calling thread (especially important for crash dialog box) 2021-03-29 22:06:14 +11:00
UnknownShadow200
9a4d5e3bcc Game now runs on windows 95 by loading IsDebuggerPresent dynamically 2021-03-27 15:01:17 +11:00
UnknownShadow200
b0e1668fa8 Android: Fix immediately crashing on 2.2 2021-02-24 07:50:27 +11:00
UnknownShadow200
e537cc6c09 Android: Add many comments to MainActivity.java 2021-02-23 21:37:15 +11:00
UnknownShadow200
de71be97bd Android: Use device UUID for key so passwords are remembered 2021-02-22 21:56:46 +11:00
UnknownShadow200
4b398eb546 avoid 64 bit division in Updater_GetBuildTime on android 2021-01-30 23:42:55 +11:00
UnknownShadow200
33c1e4e791 Android: Use device theme for dialogs, also fixes not working on old android 2021-01-30 13:49:51 +11:00
UnknownShadow200
ebc4d9f753 Fix http requests always failing on old android 2021-01-30 12:53:36 +11:00
UnknownShadow200
5700988e49 Partially works on Android 2.3 now too 2021-01-30 10:20:23 +11:00
UnknownShadow200
980f98a06a Switch to loading OpenSLES dynamically 2021-01-29 23:04:41 +11:00
UnknownShadow200
0725c5122c Show message box if System.loadLibrary fails, drop minSdk version to 8 so I don't have to remember to keep readding that in 2021-01-29 20:46:16 +11:00
UnknownShadow200
12e675f754 Add buildbot script for android (still got a few things to fix though) 2021-01-25 23:42:31 +11:00
UnknownShadow200
85dfa73921 Android: Fix after you return to the game after having switched to something else, it had lost fullscreen (Thanks fizzwhiz) 2020-11-15 13:32:02 +11:00
UnknownShadow200
d053191cef Android: Move fullscreen variable out of Window.c and into java side activity 2020-11-15 13:12:17 +11:00
UnknownShadow200
27935713e8 Fix game outright crashing when a device conifugration change occurs (Thanks GuzzDoritos)
Although now you just get a blank window, so not exactly that much better
2020-11-10 21:59:56 +11:00
UnknownShadow200
3c640ce2ef Avoid restarting text input if possible, mostly fixes case where some devices would make letters default to uppercase every time you typed one in chat input (Thanks fizzwhiz) 2020-11-08 01:19:06 +11:00
UnknownShadow200
7150af4ab5 Android: Fullscreen should be sticky immersive (Thanks fizzwhiz)
This means that if you tap at top or bottom of screen to get navigation/status bars to reappear, they should reappear only for a few seconds and as a translucent overlay instead. Also avoid using HttpRequest_Free in favour of Mem_Free
2020-11-07 15:05:30 +11:00
UnknownShadow200
5c74425d79 Try to fix weird scaling resolutions on android devices
Also rename Display.DpiX/Y to ScaleX/Y to reflect what it actually is
2020-11-06 09:31:11 +11:00
UnknownShadow200
34e4bf3605 Android: Fix trying to backspace or insert numbers in numerical fields crashing the game on old android versions (Thanks 123DMWM) 2020-11-05 17:46:43 +11:00
UnknownShadow200
0d656869a4 Android: Disable the fullscreen editing view for soft input keyboard in landscape that showed up on some devices (Thanks fizzwhiz) 2020-11-02 19:27:17 +11:00
UnknownShadow200
302415fcb0 Android: Fix backspaces to work in password input too, fixes #745 (Thanks Fam0r and AndrewPH) 2020-11-01 09:47:03 +11:00
UnknownShadow200
4a92a6d271 Android: Get numbers to work properly in emulator at least. Pending testing on actual devices 2020-11-01 09:32:36 +11:00
UnknownShadow200
53e34eec26 Android: Don't prevent physical volume buttons from working (Thanks 123DMWM) 2020-10-31 17:02:42 +11:00
UnknownShadow200
8b3246b67b Android: Starting working on OpenSL ES backend for audio 2020-10-23 10:45:33 +11:00
UnknownShadow200
856c7a2f2a Bump android SDK version back up to 26 to avoid 'this app was built for an older version of android and doesn't include the latest privacy protections' message when installing
I also set StrictMode.disableDeathOnFileUriExposure using some disgusting reflection so screenshots can continue to use file:// urls instead of content:// urls
2020-10-22 23:54:50 +11:00
UnknownShadow200
174bbc6363 Change the android package name to avoid conflicting with a certain other android application 2020-10-21 23:48:10 +11:00
UnknownShadow200
53af396dd9 Android: Fix if you leave input field with text in it then select it again, you can't backspace the text anymore 2020-10-19 23:32:14 +11:00