@Override
    public void onActivityResult(int requestCode, int resultCode, Intent intent) {
        Log.d(TAG, "onActivityResult" + 
            ", requestCode=" + requestCode +
            ", resultCode=" + resultCode +
            ", intent=" + intent);

        // Get the saved CallbackContext for the request code
        CallbackContext callbackContext = CallbackContextUtil.getCallbackContext(requestCode);

        if (callbackContext != null) callbackContext.success(resultCode);

        // Remove the saved CallbackContext
        CallbackContextUtil.clearContext(requestCode);
    }
Called when an activity launched exits, giving the requestCode 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 intent An Intent, which can return result data to the caller (various data can be attached to Intent "extras").
src/android/LocalNotification.java