#KawaDroid Examples ###"This is the Droid you are looking for."
####A collection of Kawa Scheme demos (including OpenGLES 2.0) for Android.
The current set of examples is:
- Hello World.
- A telnet read-eval-print loop (REPL).
- A Linear Layout with a Button and a TextView. Shows how to bind events.
- Load text files from Assets and display them in a ScrollView.
- A binary HTTP client which downloads and displays a live webcam image.
- jsoup for XML parsing to extract and display links as clickable text.
- Compiling, dexing and loading of java bytecode from scheme text files.
- GPS location with Fused API. Provides a synchronous interface with timeouts.
- OpenGLES 1.0 demo of a spinning triangle with touch events.
- OpenGLES 1.0 spinning cubes and pyramids copied from SchemeAndroidOGL.
- Accelerometer/Compass to generate x,y,z unit vectors for "up" and "north".
- OpenGLES 2.0 of the same spinning triangle, this time with shaders.
- OpenGLES 2.0 Pyramid with accel/compass. Red side faces north.
Each example is source code for the scheme interpreter and on-the-fly compiler.
Choose an example and copy the .scm files to the device at "/sdcard/KawaDroid".
The exact path could be different on your device. It contains the path to external storage and the app title.
In ./app/src/main/AndroidManifest.xml, the title is currently set to "KawaDroid".
The core app reads "on-create.scm" and interprets it.
For those willing to risk installing an unsigned debug apk, it can be found at:
./app/build/outputs/apk/app-debug.apk
This is a gradle project, ready for import into Android Studio for customization and building.
Transferring the files with "adb push" works best. MTP doesn't sync properly but will be fixed soon.
The license for this code is Apache 2.0. This project includes other software with different licenses. Complete license information is in the assets directory ./app/src/main/assets
Internally, this project uses these technologies:
Other projects with similar goals and/or features: