Skip to content

Commit a790783

Browse files
desttinghimikskuh
authored andcommitted
Update readme with minimal example
1 parent 4455763 commit a790783

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ This repository contains multiple examples of creating a minimal Android app in
66

77
## Examples
88

9-
There are 3 different examples. The examples have no dependencies on C code except for the android libraries, so they can be considered pure Zig apps.
9+
There are 4 different examples. The examples have no dependencies on C code except for the android libraries, so they can be considered pure Zig apps.
1010

11-
To select which example to build and run, pass the example flag (e.g. `-Dexample=egl`). Valid values for the example flag are `egl`, `textview`, and `invocationhandler`.
11+
To select which example to build and run, pass the example flag (e.g. `-Dexample=egl`). Valid values for the example flag are `egl`, `minimal`, `textview`, and `invocationhandler`.
1212

1313
We're running a CI that will verify the build for Windows, macOS and Linux:
1414

1515
[![CI](https://github.com/MasterQ32/ZigAndroidTemplate/actions/workflows/main-ci.yml/badge.svg)](https://github.com/MasterQ32/ZigAndroidTemplate/actions/workflows/main-ci.yml)
1616

17+
### Minimal
18+
19+
`examples/minimal` includes just enough code to get the app running.
20+
1721
### EGL
1822

1923
`examples/egl/` initializes OpenGL and renders a color cycle. Touchscreen events will activate a sine wave synth and be displayed as small circles beneath the fingers that will fade as soon as no event for the same finger will happen again.

0 commit comments

Comments
 (0)