minimal Android JNI implementation for Qt