8611a6c9f6
The API is called back to the client when the payload starts in the VM. The standard output from the payload is accessible via the ParcelFileDescriptor argument as well. Bug: 192904048 Test: run MicrodroidDemoApp and check that the payload output is shown. Change-Id: Ie2afbb455496eec21617b94940ed4386a4865876 |
||
---|---|---|
.. | ||
assets | ||
java/com/android/microdroid/demo | ||
res | ||
Android.bp | ||
AndroidManifest.xml | ||
README.md |
README.md
Microdroid demo app
Building
TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
Installing
adb install out/dist/MicrodroidDemoApp.apk
adb push out/dist/MicrodroidDemoApp.apk.idsig /data/local/tmp/virt
Running
Run these commands before running the app. Eventually, these won't be needed.
adb root
adb setenforce 0
adb start virtualizationservice
Run the app by touching the icon on the launcher. Press the run
button to
start a VM. You can see console output from the VM on the screen. You can stop
the VM by pressing the stop
button.