aboutsummaryrefslogtreecommitdiff
path: root/RotaryPlayground/readme.md
blob: 715e2ccbdcc493e30a2ed0a406ba153c103ad966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
```