This is the guest platform of Android apps. For the ScarletNX app that plays Switch games on a phone, see Android host.
| Layer | Code | Documents |
|---|---|---|
| Loader | the install of an APK, an XAPK or an APKS (src/android/runtime/install.c), resources (src/android/res/) | Running an app |
| CPU | DEX code translated to JVM classes (src/android/dex/), and native AArch64 or 32-bit libraries through the recompiler (src/android/bridge/) | The DEX translator, The native bridge |
| Kernel and HLE | the framework (src/android/framework/), binder services in the process, SQLite (src/android/db/) | Interfaces |
| GPU | HWUI's display lists on Vulkan (src/android/hwui/), EGL, GLES and Vulkan for native code | HWUI, The native bridge |
| Audio | MediaPlayer and SoundPool through FFmpeg and one SDL audio stream (src/android/runtime/audio.c) | Interfaces |
| Input | the mouse as a finger and the keyboard as a hardware keyboard | Running an app |
| Platform | the JVM, and the host layer that every driver shares (src/common/platform/) | Running an app |
Made from docs/platforms/android-apps/README.md at 69237645142c. GPL-3.0-or-later.