Crystal bindings for the Android Native Development Kit (NDK), manually written
based on $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/<host>/sysroot/usr/include
Partially inspired by https://github.com/ysbaddaden/android.cr and https://github.com/ysbaddaden/java.cr (JNI bindings are taken from there)
Extremely incomplete! Only has enough functionality for https://github.com/HertzDevil/crystal-android-hello-world
-
Add the dependency to your
shard.yml
:dependencies: android_ndk: github: HertzDevil/android-ndk.cr
-
Run
shards install
require "android_ndk"
TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it (https://github.com/HertzDevil/android-ndk.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Quinton Miller - creator and maintainer