Sample code for Android development using JNI