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
f3092fd4bd
implement file sharing by file descriptor
...
Using custom gdbus code, as libportal doesn't expose the raw
org.freedesktop.portal.OpenURI.OpenFile method.
2024-10-03 15:57:44 +02:00
Julian Winkler
1309eb223a
replace deprecated GtkFileChooserNative with GtkFileDialog
...
Keeping the old implementation inside ifdef for backwards
compatibility with gtk < 4.10
2024-07-31 11:10:45 +00:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Julian Winkler
6513195b9e
implement file chooser using GtkFileChooserNative
2024-03-17 22:39:13 +01:00
Julian Winkler
276b5ca7ef
add more APIs needed for NewPipe
2024-03-17 20:02:50 +01:00
Mis012
6d587a19e5
misc stuff to make glmark2 run
2024-03-05 17:07:21 +01:00
Mis012
da0971e88f
Activity: implement Activity.recreate
2024-02-19 16:29:09 +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
Mis012
5574d60b10
/api-impl-jni/app/android_app_Activity.c: fix typo
2023-10-08 13:58:04 +02:00
Mis012
4e22428a27
api-impl-jni/app/android_app_Activity.c: call OnWindowFocusChanged in activity_update_current
...
also rename apk_main_activity to activity since that's the class it's now for
2023-09-25 19:54:25 +02:00
Julian Winkler
b35cbea099
implement URL opening using libportal
2023-09-01 16:05:26 +02:00
Julian Winkler
3399c84e84
fix multi Activity support
...
jobjects have to be compared with env->IsSameObject()
and each Activity needs its own Window instance.
The GtkWindow is still shared between all Activities
2023-08-22 22:29:20 +02:00
Julian Winkler
18ca242096
support multiple Activities
2023-08-11 18:15:19 +02:00