Code example for SparseArray

Methods: deleteget

     * @param resultCode Result code of the requested intent. 
     * @param data The data returned by the intent. 
     * @return Boolean value of whether the intent was started by the native window. 
    public boolean onActivityResult(int requestCode, int resultCode, Intent data) {
        IntentCallback callback = mOutstandingIntents.get(requestCode);
        String errorMessage = mIntentErrors.remove(requestCode);
        if (callback != null) {
            callback.onIntentCompleted(this, resultCode,
                    mActivity.getContentResolver(), data);
            return true; 
        } else { 
            if (errorMessage != null) {
                return true; 
        return false;