JNI for android.graphics.Bitmap