experimenting with jni stuff... app currently crashes :/