Commit Graph

59 Commits

Author SHA1 Message Date
Julian Winkler
cb7805bb45 Window: implement getDecorView() properly
This is needed to fix the "ViewTreeLifecycleOwner not found" error in
composeUI.
2024-12-01 14:15:00 +00:00
Mis012
0803848c6d api-impl: misc stubs/additions 2024-11-30 18:54:53 +01:00
Julian Winkler
f53ad02e6f api-impl: misc additions for Oeffi 2024-11-24 22:11:40 +00:00
Daniel Panero
5f6943fd81 Add backbutton 2024-11-17 23:37:10 +00:00
Kilian "CaféHaine" Guillaume
e5a6ee2b55 api-impl: add misc stubs for Open Sudoku 2024-11-14 19:50:26 +00:00
Julian Winkler
fc0091a989 use Activity title as window title 2024-11-03 08:26:11 +01:00
Daniel Panero
e541d87fc2 api-impl: misc stubs and fixes for Spotify 2024-11-02 17:03:53 +00:00
Julian Winkler
ade5e1f1ca Activity: set windowBackground on start
This overwrites the GTK window backgrounds and therefore makes theming
more consistent when GTK theme and Android theme doesn't match.
2024-10-23 16:35:58 +02:00
Markuss Broks
24fab49a1c api-impl: misc stubs 2024-10-14 19:59:38 +03:00
Julian Winkler
0d5150083a remove spacial handling for Activity.recreateActivity()
This prevents the onStart() method being called twice for the toplevel
Activity.
2024-10-07 11:55:33 +02:00
Julian Winkler
a8ef5a533a implement passing a URI to open inside the application
Supported URI schemes will also be added to the .desktop file for --install

The URI is passed as named parameter --uri. This allows us to use unnamed parameters
for split APK apps in the future
2024-10-07 11:54:23 +02:00
Julian Winkler
1b46d728e3 implement Activity.onPostCreate() and onPostResume()
These are used by androidx to handle the Fragment lifecycle
2024-10-05 22:45:17 +02:00
Julian Winkler
0627ae7e54 misc stubs for OctoDroid version 4.6.12 2024-10-04 23:51:30 +02:00
Julian Winkler
3d38ec9755 add Java APIs needed for WhatsApp settings 2024-10-03 15:57:44 +02:00
Julian Winkler
265ac895d3 call Activity.onActivityResult() directly
this method must be called before onResume()
2024-10-03 15:57:44 +02:00
Julian Winkler
c492e1f03f add Java APIs needed for WhatsApp MainActivity and ConversationActivity 2024-10-03 15:57:44 +02:00
Julian Winkler
e3c0931714 prevent reference cycles between Java and native objects 2024-08-02 17:02:53 +02:00
Julian Winkler
3c5a21357d multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
bb50bbfa91 add lots of java APIs needed for Whatsapp 2024-06-16 08:45:31 +02:00
Mis012
81797c2667 api-impl: add misc stubs/impls 2024-06-13 21:00:06 +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
Mis012
b1d4a69c6b Activity: implement getTitle/setTitle
also set the title from AndroidManifest.xml
this is used by some androidx AppCompat widgets
2024-04-07 21:42:42 +02:00