コード例 #1
0
 @Override
 public void onActivityResult(int requestCode, int resultCode, Intent intent) {
   super.onActivityResult(requestCode, resultCode, intent);
   if (mSsoHandler != null) {
     mSsoHandler.authorizeCallBack(requestCode, resultCode, intent);
   }
 }
コード例 #2
0
 @Override
 /**
  * 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").
  */
 public 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);
   }
 }