List of usage examples for org.apache.cordova.api CordovaPlugin onActivityResult
public void onActivityResult(int requestCode, int resultCode, Intent intent)
From source file:edu.pitt.gis.uniapp.UniApp.java
License:Apache License
@Override /**//w ww. j a va 2s . c om * Called when an activity you launched exits, giving you the requestCode you started it with, * the resultCode it returned, and any additional data from it. * * @param requestCode The request code originally supplied to startActivityForResult(), * allowing you to identify who this result came from. * @param resultCode The integer result code returned by the child activity through its setResult(). * @param data An Intent, which can return result data to the caller (various data can be attached to Intent "extras"). */ protected void onActivityResult(int requestCode, int resultCode, Intent intent) { super.onActivityResult(requestCode, resultCode, intent); CordovaPlugin callback = this.activityResultCallback; if (callback != null) { callback.onActivityResult(requestCode, resultCode, intent); } }