(Android) Simplify intent grabbing with JNI