An open API service indexing awesome lists of open source software.

https://github.com/trycua/android-touch-test-app

TouchTest APK for CUA Android multi-touch integration tests
https://github.com/trycua/android-touch-test-app

Last synced: 2 months ago
JSON representation

TouchTest APK for CUA Android multi-touch integration tests

Awesome Lists containing this project

README

          

# android-touch-test-app

Minimal Android app used by [cua](https://github.com/trycua/cua)'s Android multi-touch integration tests.

The app renders a full-screen touch surface and logs every touch event to logcat as JSON:

```
TouchTest: {"action":"ACTION_DOWN","pointer_count":1,"pointers":[{"id":0,"x":540,"y":960}]}
TouchTest: {"action":"ACTION_POINTER_DOWN","pointer_count":2,"pointers":[...]}
```

The test harness (`test_android_multitouch.py`) installs the APK, drives gestures via `sb.mobile.*`, and asserts on the logcat output.

## Pre-built APK

Download the latest debug APK from [Releases](https://github.com/trycua/android-touch-test-app/releases/latest):

```
https://github.com/trycua/android-touch-test-app/releases/latest/download/app-debug.apk
```

## Building locally

Requires Android SDK + JDK 17.

```bash
./gradlew assembleDebug
# output: app/build/outputs/apk/debug/app-debug.apk
```

## CI

Pushing a `v*` tag builds the APK and publishes it as a GitHub Release asset.