Skip to content

rafleon/KawaDroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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:

  1. Hello World.
  2. A telnet read-eval-print loop (REPL).
  3. A Linear Layout with a Button and a TextView. Shows how to bind events.
  4. Load text files from Assets and display them in a ScrollView.
  5. A binary HTTP client which downloads and displays a live webcam image.
  6. jsoup for XML parsing to extract and display links as clickable text.
  7. Compiling, dexing and loading of java bytecode from scheme text files.
  8. GPS location with Fused API. Provides a synchronous interface with timeouts.
  9. OpenGLES 1.0 demo of a spinning triangle with touch events.
  10. OpenGLES 1.0 spinning cubes and pyramids copied from SchemeAndroidOGL.
  11. Accelerometer/Compass to generate x,y,z unit vectors for "up" and "north".
  12. OpenGLES 2.0 of the same spinning triangle, this time with shaders.
  13. 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:

About

A collection of Kawa Scheme demos (including OpenGLES) for Android.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published