Julian Winkler
71bb6d96bd
implement Context.stopService()
2024-07-31 18:21:14 +02:00
Mis012
92e2c06347
make sure the apk path is reliably set in the PackageInfo
2024-06-19 22:35:50 +02:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Julian Winkler
2a10196bc5
Context: cache SharedPreferences
...
OsmAnd renderer reads SharedPreferences for every frame. Use cached
objects instead of reading it from disk every time
2024-06-15 00:01:51 +02:00
Mis012
795c76f144
android/content/Context: misc cleanup
2024-06-13 20:54:21 +02:00
Julian Winkler
2efa545e73
fix application_info.dataDir getting overwritten by PackageParser
2024-06-13 20:07:10 +02:00
Julian Winkler
b15bf203a7
remove custom AndroidManifest.xml parsing and instead use PackageParser
...
This has the advantage, that AndroidManifest.xml is only parsed once.
2024-06-12 23:03:20 +02:00
Julian Winkler
778d19f268
remove remaining dependencies on ARSClib
2024-05-23 23:30:03 +02:00
Mis012
30a9f66c4a
api-impl: misc stubs for stupid ad stuff in SubwaySurfers
2024-04-26 18:11:29 +02:00
Mis012
2802aaa28d
api-impl: add stubs / simple stuff for OsmAnd
...
without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
2024-04-13 15:22:38 +02:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Markuss Broks
24e8743cc1
Context: add the input service tag string
2024-04-01 19:41:06 +00:00
Julian Winkler
494605932c
implement more APIs
2024-03-22 21:02:22 +01:00
Mis012
0592b71489
View: basic implementation for performHapticFeedback
...
we currently ignore the feedbackConstant and simply vibrate for 10ms
2024-03-22 14:04:17 +01:00
Julian Winkler
45de09a191
notification support using libportal
2024-03-18 07:26:25 +01:00
Julian Winkler
276b5ca7ef
add more APIs needed for NewPipe
2024-03-17 20:02:50 +01:00
Julian Winkler
005e2299bd
automatically enable UI_MODE_NIGHT when gtk-theme-name contains "dark"
...
gtk-theme-name is only checked once at start up
2024-03-10 12:05:33 +01:00
Mis012
ecaf968da1
treat application/activity names in AndroidManifest.xml as dot-prefixed when they don't contain any dots
2024-03-07 15:44:21 +01:00
Mis012
056b911637
handle 'SEND' intent by copying to clipboard, make Activity subclass ContextWrapper, code style fixes
2024-02-10 20:58:38 +01:00
Julian Winkler
aa56f3fb81
Add some methods needed for androidx preferences
2024-02-10 10:28:48 +01:00
Mis012
1b8480a7d0
android-impl: fix regressions that made angry birds not work anymore
2023-11-23 15:29:03 +01:00
Julian Winkler
1aa1ee64c1
Context: handle getTargetSdkVersion() returning null
2023-11-04 23:32:29 +01:00
Julian Winkler
0a8b8a3874
use AndroidLayout class also in View implementation
...
drop the onMeasure hack from WrapperWidget
2023-11-02 08:20:19 +01:00
Mis012
0b0cfed345
misc: fix stuff up to make SDL example work again
...
it still behaves weirdly, should probably find some
other example since I don't trust my own code.
2023-10-29 22:48:02 +01:00
Mis012
4a0755c6e0
api-impl{-jni}: make view.onTouchEvent work, misc stuff to make input work for Unity games
...
onTouchEvent was previously incorrectly handled in GLSurfaceView; move it
to View so that it works properly with any of it's descendants.
This is done by reusing the existing setOnTouchListener implementation
and changing it to use GtkEventControllerLegacy which provides motion
events.
Technically some of the code is in WrapperWidget.c since every widget
calls wrapper_widget_set_jobject and we already have related code
there.
2023-10-17 21:33:59 +02:00