I was trying to do @Override
with JNI (so during runtime). This is a sample of how the override is completed in non-JNI:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// do my custom stuff here
super.onActivityResult(requestCode, resultCode, data); // call regular
}