Julian Winkler
55a1ff2cc5
create ContentProvider from AndroidManifest.xml
...
This is required for androidx startup library.
Only onCreate method is called for now.
2023-10-14 18:29:33 +02:00
Julian Winkler
f5fc993484
add APIs needed for non legacy NewPipe version
2023-10-14 18:29:33 +02:00
Julian Winkler
399cf87254
fix some NullPointerExceptions with Flower Finder test apk
2023-10-14 10:01:01 +00:00
Julian Winkler
37d9b13470
View.onMeasure: handle MEASURE_SPEC_AT_MOST properly
...
We decide between simple widgets which handles MEASURE_SPEC_AT_MOST the same way as
MEASURE_SPEC_EXACTLY, and complex widgets which handles MEASURE_SPEC_AT_MOST by measuring the content
2023-10-14 10:01:01 +00:00
Julian Winkler
e735757a2e
Window.java: prevent calling set_widget_as_root() twice
...
This fixes a segfault in Cut The Rope introduced by commit 3399c84e84
2023-10-14 10:01:01 +00:00
Mis012
43306bf174
api-impl/android/content/res/AssetManager: fix infinite loop with suspicious self-referencing arsc entries
2023-10-09 20:11:36 +02:00
Mis012
bf8f11d123
api-ipml/GLSurfaceView: fix indentation/newlines, fix compilation when DEBUG_GLAREA is defined
2023-10-09 20:10:29 +02:00
Mis012
f5b35b5ce9
api-impl: misc. stubs
2023-10-08 22:33:47 +02:00
Mis012
1b33acb658
api-impl/android/content: implement metadata bundle in PackageInfo
2023-10-08 22:33:14 +02:00
Mis012
2bb61d98be
README.md: clarify this is not a mere PoC anymore; add deeper thought provocation to doc/
2023-10-08 22:31:57 +02:00
Mis012
5574d60b10
/api-impl-jni/app/android_app_Activity.c: fix typo
2023-10-08 13:58:04 +02:00
Mis012
8b7b02d81f
src/main-executable/main.c: change the naming scheme for app data dirs to fix Unity
...
Unity can't comprehend that a directory name could end in .apk, and will not handle
obb files properly if the path to the obb file includes such a folder.
To convert your existing app data dirs to the new scheme, simply `cd` into
the app_data_dir (`~/.local/share/android_translation_layer` by default)
and run `find . -maxdepth 1 -exec mv {} {}_ \;`
2023-10-06 21:17:11 +02:00
Mis012
c326cad04e
misc cleanup, address some warnings
2023-09-25 19:56:39 +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
Markuss Broks
beca82142c
libandroid/native_window.c: Implement X11 support
...
Signed-off-by: Markuss Broks <markuss.broks@gmail.com >
2023-09-19 15:00:46 +02:00
Nikita Travkin
d3e5c6ee70
api-impl,libandroid: Add some stubs, mostly
2023-09-19 14:44:50 +02:00
Mis012
a32961891d
api-impl/android/content/Context: add getExternalFilesDirs
2023-09-19 11:12:15 +02:00
Mis012
210cda566a
api-impl/android/content/Context: make getObbDir consistent with apps' hardcoded assumptions about the obb dir location
2023-09-18 13:54:12 +02:00
Mis012
4628cfc66d
/api-impl-jni: remove remains of experimental ninepatch implementation, will use skia
2023-09-16 16:30:14 +02:00
Mis012
7e071fc6cc
api-impl-jni/android_app_NativeActivity.c: call ANativeWindow_release to get rid of the old surface, e.g when resizing
2023-09-15 11:40:54 +02:00
Mis012
e1cf5c7047
libandroid/native_window.c: make Vulkan work, add refcount
2023-09-14 21:48:15 +02:00
Mis012
9270d3a923
api-impl/android/view/View: add getDisplay
2023-09-14 16:05:07 +02:00
Mis012
ba44426986
api-impl/android/view/Display: add methods
2023-09-14 09:50:10 +02:00
Mis012
8500b57880
api-impl/android/net/Uri: copy encode/decode implementation from AOSP
2023-09-14 09:49:28 +02:00
Mis012
24353378be
api-impl: implement Canvas text drawing as used by Gravity Defied
...
implements android.graphics.Typeface (always uses default
typeface for now), one version of Canvas.drawText, one version
of Paint.measureText, and Paint.ascend
2023-09-12 19:30:29 +02:00