Commit graph

18 commits

Author SHA1 Message Date
ROllerozxa
ff2e8252de occured -> occurred 2026-06-22 19:31:19 +02:00
ROllerozxa
99e16dc5a3 Merge branch 'backport-2026-06-19' 2026-06-19 20:00:25 +02:00
ROllerozxa
1596df98f6 Principia 2026.06.19 2026-06-19 19:21:18 +02:00
ROllerozxa
9422867597 Refactor Android Java code
Move everything Principia-specific from SDLActivity into PrincipiaActivity and update any references in the dialog code
2026-06-19 17:03:15 +02:00
ROllerozxa
d631ca3d55 Fix SDL3 Android build
Pinch to zoom no longer works which seems to be due to SDL finger IDs changing. There is a new pinch event specifically for this which should be used instead.
2026-06-18 00:28:38 +02:00
ROllerozxa
73f0dd1195 Fix up CI builds to build with SDL3
Adds a new CMake option to build with a vendored copy of the latest version of SDL3, which gets downloaded during configuration.
2026-06-18 00:04:03 +02:00
ROllerozxa
a22c9ed7e6 Principia 2026.06.06 2026-06-06 13:24:48 +02:00
ROllerozxa
c6be936430 Merge branch 'master' of github.com:Bithack/principia 2026-06-04 23:41:19 +02:00
ROllerozxa
6689542b27 Bump Android deps 2026-06-04 23:40:51 +02:00
Dimitris Dafnis
08ab103f44
Guard external URL launch in the in-game WebView (#215)
When the WebView opens a URL that is neither a principia: link nor a
community-host page, it hands it to an external app with
startActivity(ACTION_VIEW). On a device with no app able to open the URI
that call throws ActivityNotFoundException and the activity crashes.

Wrap the launch in a try/catch so an unresolvable link is logged and the
WebView dialog still closes cleanly.
2026-06-04 20:37:22 +02:00
ROllerozxa
2c99bf67c4 Android: Open links outside of community host in external browser
The community site has links to all sorts of external websites that really does not like the webview, and the user likely wants them to be opened in an external browser in this case rather than be confined to the app's webview.
2026-03-25 00:18:55 +01:00
ROllerozxa
0104570ba2 Bump SDL2 Android version to 2.32.10 2025-09-12 17:14:47 +02:00
ROllerozxa
55bb0c1ea7 Fix navigation bar obscuring game on Android 15
Closes #206, #211
2025-09-11 23:43:04 +02:00
ROllerozxa
f71e177c43 Principia 2025.04.05 2025-04-05 13:05:07 +02:00
ROllerozxa
3e1e053ac2 Remove ui::open_help_dialog, use regular ui::open_dialog instead
Also call the dialog consistently info/level info
2025-03-27 21:53:43 +01:00
ROllerozxa
3a8f57e934 Update SDL2 to 2.32.2 on Android 2025-03-22 22:18:15 +01:00
ROllerozxa
3950f1fcdc Remove unused puzzle play dialog 2025-03-21 18:12:24 +01:00
ROllerozxa
0101aeb9b1 Rename Android project folder to just android 2025-03-04 23:17:47 +01:00