• Home
Name Date Size #Lines LOC

..--

java/com/android/microdroid/demo/03-May-2024-309235

res/03-May-2024-140117

Android.bpD03-May-2024593 2220

AndroidManifest.xmlD03-May-2024876 2118

README.mdD03-May-2024716 2920

README.md

1# Microdroid demo app
2
3## Building
4
5```
6UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
7```
8
9## Installing
10
11You can install the app like this:
12```
13adb install -t -g out/dist/MicrodroidDemoApp.apk
14```
15
16(-t allows it to be installed even though it is marked as a test app, -g grants
17the necessary permission.)
18
19You can also explicitly grant or revoke the permission, e.g.
20```
21adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE
22```
23
24## Running
25
26Run the app by touching the icon on the launcher. Press the `run` button to
27start a VM. You can see console output from the VM on the screen. You can stop
28the VM by pressing the `stop` button.
29