Julian Winkler
4ed3fbd385
implement PackageParser.getResourcesForApplication()
...
This method is needed for the FlowerFinder test APK
2024-07-31 18:21:14 +02:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Mis012
fee9302e17
api-impl: fix uses of dummy aux Drawable class
2024-06-13 12:15:50 +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
639a786056
PackageInfo: handle Resources.NotFoundException gracefully
2024-04-27 15:15:40 +02:00
Mis012
188df3e454
PackageInfo: handle non-string metadata
2024-04-26 18:11:29 +02:00
Mis012
a1df6a43e5
api-impl: stubs to make OsmAnd allow OpenGL renderer
...
it doesn't render anything sadly
2024-04-14 21:48:19 +02:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Julian Winkler
e0b3975eb7
implement PackageManager.resolveContentProvider()
2024-03-22 21:02:22 +01:00
Julian Winkler
1d0ad8132d
regenerate R.java and Manifest.java to match framework-res.apk
2024-03-10 14:36:27 +00: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
Julian Winkler
b88707592a
add more stubs to make exoplayer not crash
2023-10-14 18:29:33 +02:00
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
Mis012
1b33acb658
api-impl/android/content: implement metadata bundle in PackageInfo
2023-10-08 22:33:14 +02:00
Julian Winkler
b35cbea099
implement URL opening using libportal
2023-09-01 16:05:26 +02:00
Julian Winkler
82744e9e5e
add bunch of new java APIs: mostly stubs or copied from AOSP
...
Many of these classes are only needed to be subclassed by androidx
support library, which is used in many android apps
2023-08-22 15:53:09 +02:00
Mis012
a1aa38c7b8
api-impl/android/content/pm/PackageInfo: make some items not stubs
2023-08-12 13:06:10 +02:00
Mis012
ffb2855a05
api-impl: add misc stuff needed by Teeter
...
note that Teeter still needs more stuff before it will work
2023-07-25 14:29:50 +02:00
Mis012
0a9591c474
src/api-impl: fix up code style, mainly for code imported from AOSP
...
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00
Julian Winkler
0baddd9fe8
fixes for android-8 rebase of dalvik_standalone
...
detect bootclasspath jar path automatically from dalvik_standalone
2023-06-21 22:38:07 +02:00
Julian Winkler
0454dcbfd5
stub some APIs for Flappy Bird, mostly webview related
2023-06-18 11:28:40 +02:00
Mis012
2e4590c4d8
src/api-impl: misc stubbing
2022-12-31 17:17:10 +01:00
Mis012
75187b01d5
implement/stub some stuff to make SmashHit launch
2022-11-24 16:05:38 +01:00