The layer is thin. An app's code runs on a JVM, and the Android system under it is high-level emulation:
src/android/dex/), and OpenJDK runs them through
its invocation API. The JVM's JIT compiles them to host code. The translation of a whole app takes under a second,
so classes are translated as they load and kept in a cache. --translate=DIR translates every class ahead of time.android.* is ScarletNX's own, a minimal subset that grows with the apps it runs. It is not
AOSP's framework, though the files whose header names AOSP follow its source in parts (Credits).
Its native side is C, the HLE of the userland libraries: libhwui's display lists drawn with Vulkan, libandroidfw's
resources, binder services in the process, SQLite.An app runs with the rights of the user who starts it, as a native program does: nothing confines it. Its Java code
runs on the JVM as any Java program's, its native code in the same process (a guest pointer is a host pointer,
Native bridge), and open, java.io and getenv reach the user's files and environment as they are. Run an app
only where you would run a program from the same source.
Made from docs/platforms/android-apps/README.md at 69237645142c. GPL-3.0-or-later.