override Main Activity Function on MobileUtils

Hi there…
I am using UE 4.12 + GameDnaStudio MobileUtils, because I need jni connection by android services on my game (specially for calling from blueprint).
I have solved many problems and could run java functions by blueprint.
the only problem that is not solved yet, is how to overriding a method of the main game activity using MobileUtils_APL.xml
because I have tried this code on that xml file but it has encountered an error…thanks a lot…

@Override protected void
onActivityResult(int requestCode, int
resultCode, Intent data) { //code }

In MobileUtils_APL.xml these is gameActivityOnActivityResultAdditions inside insert tag write code in it for example

`if(requestCode == RESULT_LOAD_IMG){
switch (resultCode)
{
case RESULT_OK:
Log.debug(“User Selected Photo.”);
break;

  }

}`

1 Like