startActivityForResult doesn't work on UPL. How can i open the Gallery app?

I use UPL for android. I want to open Gallery to select a image file but it doesn’t work.

<gameActivityClassAdditions>
	<insert>
public boolean AndroidThunkJava_StartGalleryAppImageSelection() {
        Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
        startActivityForResult(intent, 1);
        return true;
    }
...
...

First i make the function on UPL_Android.xml and make it BlueprintCallable function. It run well but the Gallery app is not opened. I guess startActivityForResult is the problem. But not sure. How can i make to open the Gallery app?