> If you are trying to launch a random app, chances are that we are missing implementations for some stuff that it needs, and we also don't have (sufficiently real looking) stubs for the stuff it says it needs but doesn't really.
The workflow is basically to see where it fails (usually a Class or Method was not found) and to create stubs which sufficiently satisfy the app so that it continues trying to launch.
Once the app launches, you may find that some functionality (UI elements, ...) is missing. To enable such functionality, you need to convert the relevant stubs to actual implementation. You can look at simple widgets (e.g. TextView, or ImageView) to see how to implement a widget such that it shows up as a Gtk Widget.
I don't think the point of this is to get everything ever to work. Just getting well-behaved and free software apps to integrate better than with waydroid (by reimplementing a higher level of libraries, rather than running the entire OS) would already be huge.
These are usually simple heuristics based on device name, whether you're running a signed version of Android, etc. Thirty minutes on Stackoverflow will usually cover all the fingerprints most simple apps use.
If they're using Play Integrity, you're mostly out of luck. Xposed will usually have the latest bypass, but there's long periods where there aren't any.
It's not in a window, although you can launch it that way if you want. Each app is a separate window, mouse/keyboard/touch works just like with any other app, even the clipboard works as you'd expect.
I'm given to understand that it supports window-per-app? And I don't use it like that for reasons related to it requiring wayland, but even so it works fine for me with mouse+keyboard
Really... I've run it for a few minutes and couldn't get networking lol but it ran in a single window, I guess I need to look into how to use it like that, would be useful sometimes.
this could be used in linux phones as well I suppose (waydroid requires linux-zen which just adds friction imo)
Though I like waydroid very much , I also really like this idea of having android apps as flatpak applications which I can install rather easily without having to configure to install a custom kernel and do 10 more different things (like maybe adding play store if app is not available) (a arm implementation if app isn't working)
lets hope that it works better than that and gives a plug n play experience
Yes, the implementation looks philosophically similar and seems to cleave at the same layer (the interface between app code and platform libraries). Basically, an implementation of everything Dalvik calls out to via JNI and a bionic <-> glibc libc shim for native Android libraries.
No, you’re right, ART now (I think they started using Dalvik, actually, but switched, just like Android itself). I guess I forgot what year it was for a minute there :)
From a quick look at the gitlab I don't see any mention of similar requirements. If that's the case, it would be easier to run. Also bonus if gpu support is better than "NVIDIA GPUs do not work currently"
But I thought the experience with waydroid is running an android system in a window? You can run android applications directly in Linux as their own "native" window using waydroid?
Yes, you can have Android apps showing up in Gnome (e.g., likely all DEs) menu and open them directly in their own window without seeing the waydroid launcher.
NewPipe on Linux, Using Android_translation_layer (27.10.2024)
https://news.ycombinator.com/item?id=41963932