You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
766 B
39 lines
766 B
7 months ago
|
# Rotary Playground: Test app for rotary controller
|
||
|
|
||
|
## Building
|
||
|
```
|
||
|
make RotaryPlayground
|
||
|
```
|
||
|
|
||
|
## Installing
|
||
|
```
|
||
|
adb install out/target/product/[hardware]/system/app/RotaryPlayground/RotaryPlayground.apk
|
||
|
```
|
||
|
|
||
|
## Once installed, launch Rotary Playground in the Launcher, or with this adb command:
|
||
|
```
|
||
|
adb shell am start -n com.android.car.rotaryplayground/com.android.car.rotaryplayground.RotaryActivity
|
||
|
```
|
||
|
|
||
|
## Tools
|
||
|
|
||
|
### goRotary.sh
|
||
|
This script helps you to build, install and run the app.
|
||
|
|
||
|
* To build
|
||
|
```
|
||
|
cd $ANDROID_BUILD_TOP
|
||
|
packages/apps/Car/tests/tools/goRotary.sh b
|
||
|
```
|
||
|
The apks and android.car.jar are in /tmp/rotary by default.
|
||
|
|
||
|
* To install
|
||
|
```
|
||
|
packages/apps/Car/tests/tools/goRotary.sh i
|
||
|
```
|
||
|
|
||
|
* To run
|
||
|
```
|
||
|
packages/apps/Car/tests/tools/goRotary.sh r
|
||
|
```
|