コード例 #1
0
ファイル: Charts.java プロジェクト: Rmpjunior/MobileBI
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   // TODO Auto-generated method stub
   super.onActivityResult(requestCode, resultCode, data);
   switch (requestCode) {
     case 100:
       {
         if (resultCode == RESULT_OK && null != data) {
           atual = viewPager.getCurrentItem();
           ArrayList<String> result = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);
           stringSpeak = result.get(0);
           if (stringSpeak.toLowerCase().contains("next")) {
             if (atual == (tabs.size() - 1)) {
               viewPager.setCurrentItem(0);
             } else {
               viewPager.setCurrentItem(atual + 1);
             }
           } else if (stringSpeak.toLowerCase().contains("back")) {
             if (atual == 0) {
               viewPager.setCurrentItem(tabs.size() - 1);
             } else {
               viewPager.setCurrentItem(atual - 1);
             }
           } else {
             Toast.makeText(getApplicationContext(), "Invalid Command", Toast.LENGTH_LONG).show();
           }
         }
         break;
       }
   }
 }
コード例 #2
0
 @Override
 protected void onActivityResult(int reqCode, int resCode, Intent data) {
   GKIMLog.lf(this, 1, TAG + "=>onActivityResult :" + reqCode);
   uiHelper.onActivityResult(reqCode, resCode, data);
   if (TNPreferenceManager.REQ_CODE_USER_POST == reqCode
           && TNPreferenceManager.ACTIVITY_RESULT_BACK_FROM_LOGO == resCode
       || TNPreferenceManager.ACTIVITY_RESULT_BACK_FROM_LOGO_DETAIL_IMAGE == resCode) {
     setResult(resCode, data);
     mFinishData = null;
     VideoStoryDetailFragmentActivity.this.finish();
   } else {
     if (resCode == RESULT_OK) {
       if (mGuiFooter != null) {
         mHashStoryCommentCount.put(
             mStoryId, data.getIntExtra(TNPreferenceManager.EXTRAKEY_COMMENT_COUNT, 0));
         // mGuiFooter.setCommentCountView();
       }
     }
     SocialShare provider = SocialHelper.getLastInstance().getSNSInstance();
     if (provider != null) {
       if (!provider.handlingActivityForResult(reqCode, resCode, data)) {
         super.onActivityResult(reqCode, resCode, data);
       }
     }
   }
 }
コード例 #3
0
ファイル: SActivity.java プロジェクト: supermng/SOWDemo
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (null != this.fragment) {
     this.fragment.onActivityResult(requestCode, resultCode, data);
   }
 }
コード例 #4
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    // if(Session.getActiveSession() != null) {
    // Session.getActiveSession().onActivityResult(this, requestCode,
    // resultCode, data);
    // }

    if (resultCode == RESULT_OK) {
      Bundle bundle;
      switch (requestCode) {
        case 4445:
          bundle = new Bundle();
          bundle.putString("photo", mSelectedImage);
          setupLayout(bundle);
          break;
        case 4444:
          bundle = new Bundle();
          Uri selectedImageUri = data.getData();
          if (Build.VERSION.SDK_INT < 19) {
            mSelectedImage = BeUtils.getPicturePathFromURI(this, selectedImageUri);
            bundle.putString("photo", mSelectedImage);
          } else {
            bundle.putParcelable("photo", selectedImageUri);
          }
          setupLayout(bundle);
          break;
      }
    }

    super.onActivityResult(requestCode, resultCode, data);
  }
コード例 #5
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    if (requestCode == BitherSetting.INTENT_REF.SCAN_REQUEST_CODE && resultCode == RESULT_OK) {
      Fragment f = getFragmentAtIndex(1);
      if (f != null && f instanceof HotAddressFragment) {
        @SuppressWarnings("unchecked")
        ArrayList<String> addresses =
            (ArrayList<String>)
                data.getExtras()
                    .getSerializable(BitherSetting.INTENT_REF.ADDRESS_POSITION_PASS_VALUE_TAG);
        HotAddressFragment af = (HotAddressFragment) f;
        af.showAddressesAdded(addresses);
      }
      if (f != null && f instanceof Refreshable) {
        Refreshable r = (Refreshable) f;
        r.doRefresh();
      }
      return;
    }

    if (requestCode == SelectAddressToSendActivity.SEND_REQUEST_CODE && resultCode == RESULT_OK) {
      DropdownMessage.showDropdownMessage(this, R.string.donate_thanks);
    }
    super.onActivityResult(requestCode, resultCode, data);
  }
コード例 #6
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    if (resultCode == RESULT_OK) {
      Uri uri = null;
      switch (requestCode) {
        case REQUEST_CODE_SYETEM_GALLERY:
          {
            uri = data.getData();
            break;
          }
        case REQUEST_CODE_SYETEM_CROP:
          {
            Bitmap btm = data.getParcelableExtra("data");
            String input_name = input.getText().toString();
            createShortcut(
                TextUtils.isEmpty(input_name) ? " " : input_name, packageName, activityName, btm);
            btm.recycle();
            btm = null;
            break;
          }
        default:
          break;
      }

      //
      if (uri != null) {
        startSystemCrop(uri);
      }
    }

    super.onActivityResult(requestCode, resultCode, data);
  }
コード例 #7
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (requestCode == ADD_NEW_CAT) {
     viewPager.setAdapter(new HomeViewPagerAdapter(getSupportFragmentManager()));
     viewPager.setCurrentItem(0);
   }
 }
コード例 #8
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
    super.onActivityResult(requestCode, resultCode, intent);
    mCameraIntentHelper.onActivityResult(requestCode, resultCode, intent);

    Uri uriUrl = Uri.parse("http://test.com");
    Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);
    startActivity(launchBrowser);
  }
コード例 #9
0
ファイル: MainActivity.java プロジェクト: yan96in/xiangyangju
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   /** 使用SSO授权必须添加如下代码 */
   UMSsoHandler ssoHandler = mController.getConfig().getSsoHandler(requestCode);
   if (ssoHandler != null) {
     ssoHandler.authorizeCallBack(requestCode, resultCode, data);
   }
 }
コード例 #10
0
  @Override
  protected void onActivityResult(int arg0, int arg1, Intent arg2) {
    // TODO Auto-generated method stub
    if (arg0 == Const.TO_USER_SET && arg1 == Const.TO_EXITS_USER) {
      new ToastUtils(MainActivity.this, "退出账户成功!");
      mIndex = 0;
      setOnTabselected();
    }
    if (mInformationFragment != null) {
      mInformationFragment.onActivityResult(arg0, arg1, arg2);
    }
    if (mToolFragment != null) {
      mToolFragment.onActivityResult(arg0, arg1, arg2);
    }
    if (mMyFragment != null) {
      mMyFragment.onActivityResult(arg0, arg1, arg2);
    }
    super.onActivityResult(arg0, arg1, arg2);

    if (arg1 == RESULT_CANCELED) {
      disshowPhoto();
      return;
    }
    if (arg0 == Const.TO_LOGIN && arg1 == RESULT_OK) { // 登陆成功
      mIndex = 3;
      setOnTabselected();
      EventBus.getDefault().post(new MyEvent(0, null));
    }
    if (arg0 == Const.TO_SEND_IDENTIY && arg1 == RESULT_OK) { // 发布成功
    }
    if (arg0 == ImageUtils.GET_IMAGE_BY_CAMERA && arg1 == RESULT_OK) { // 我的页面,获取照片地址获取到图片(相机)
      if (imageUtils.PICPATH != null) {
        imageUtils.crop(Uri.fromFile((new File(imageUtils.PICPATH))));
      }
    }
    if (arg0 == ImageUtils.GET_IMAGE_FROM_PHONE
        && arg1 == Activity.RESULT_OK) { // 我的页面,获取照片地址获取到图片(相册)
      if (arg2 != null && arg2.getData() != null) {
        imageUtils.crop(arg2.getData());
      }
    }
    if (arg0 == ImageUtils.GET_IMAGE_FROM_PHONE_KITKAT
        && arg1 == RESULT_OK) { // 我的页面,获取照片地址获取到图片(相册)4.4系统,用谷歌的相册
      if (arg2 != null && arg2.getData() != null) {
        imageUtils.doPhotoKIKAT(arg2);
        imageUtils.crop(Uri.fromFile(new File(imageUtils.PICPATH)));
      }
    }
    if (arg0 == ImageUtils.PHOTO_REQUEST_CUT && arg1 == RESULT_OK) { // 获取剪切好的人物头像
      if (arg2 != null) {

        uploadLogo(FileUtils.getInstance().getLogoPath().getAbsolutePath());
      }
    }
    disshowPhoto();
  }
コード例 #11
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
    super.onActivityResult(requestCode, resultCode, intent);

    if (requestCode == 1) {

      finish();
      startActivity(getIntent());
    }
  }
コード例 #12
0
  protected void onActivityResult(int requestCode, int resultCode, Intent imageReturnedIntent) {
    super.onActivityResult(requestCode, resultCode, imageReturnedIntent);

    if (resultCode != RESULT_OK) return;

    switch (requestCode) {
      case 100:
        importPhoto(imageReturnedIntent);
        break;
    }
  }
コード例 #13
0
  @Override
  protected void onActivityResult(int request, int result, Intent data) {
    super.onActivityResult(request, result, data);

    if (request == REQUEST_DOCUMENT_LIST) {
      // The collection may have been renamed
      CollectionListFragment fragment =
          (CollectionListFragment)
              getSupportFragmentManager().findFragmentById(R.id.collection_list);
      fragment.reloadList();
    }
  }
コード例 #14
0
ファイル: ManageActivity.java プロジェクト: alonseg/iProtest2
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if (requestCode == Consts.REQ_SIGN) {
      if (resultCode == Consts.REQ_SIGN_SUC) {
        handleLogOrReg();

        startManageContent();

        handleNewProtest();
      }
    }
  }
コード例 #15
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   try {
     ContentResolver resolver = getContentResolver();
     if (resultCode != Activity.RESULT_OK) {
       return;
     } else if (requestCode == IMAGE_CODE) {
       Uri originalUri = data.getData();
       // Log.i("TestFile", originalUri.toString());
       if (originalUri != null) {
         String filename = getPhotoPath(originalUri);
         getFile(filename); // 获取文件,子类实现它,然后就方便上传这个文件了
       }
     } else if (requestCode == CAPTURE_CODE) {
       String sdStatus = Environment.getExternalStorageState();
       if (!sdStatus.equals(Environment.MEDIA_MOUNTED)) { // 检测sd是否可用
         Log.i("TestFile", "SD card is not avaiable/writeable right now.");
         return;
       }
       String name =
           DateFormat.format("yyyyMMdd_hhmmss", Calendar.getInstance(Locale.CHINA)) + ".jpg";
       Bundle bundle = data.getExtras();
       Bitmap bitmap = (Bitmap) bundle.get("data"); // 获取相机返回的数据,并转换为Bitmap图片格式
       FileOutputStream b = null;
       File file = new File("/sdcard/myImage/");
       file.mkdirs(); // 创建文件夹
       String fileName = "/sdcard/myImage/" + name;
       Log.i("TestFile", fileName.toString());
       try {
         b = new FileOutputStream(fileName);
         bitmap.compress(Bitmap.CompressFormat.JPEG, 100, b); // 把bitmap写入文件
         getFile(fileName); // 获取文件,子类实现它,然后就方便上传这个文件了
       } catch (FileNotFoundException e) {
         e.printStackTrace();
       } finally {
         try {
           b.flush();
           b.close();
         } catch (IOException e) {
           e.printStackTrace();
         }
       }
     }
   } catch (Exception e) {
     Log.i("tag", e.toString() + "");
     ToastUtils.showToast("获取图片抛出了异常!!");
   }
 }
コード例 #16
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    switch (requestCode) {
      case REQUEST_CODE_FSQ_CONNECT:
        onCompleteConnect(resultCode, data);
        break;

      case REQUEST_CODE_FSQ_TOKEN_EXCHANGE:
        onCompleteTokenExchange(resultCode, data);
        break;

      default:
        super.onActivityResult(requestCode, resultCode, data);
    }
  }
コード例 #17
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    // If the play services is not installed and the user dismissed the dialog
    // that prompted the user to install it, then we finish and toast a message.
    switch (requestCode) {
      case REQUEST_CODE_RECOVER_PLAY_SERVICES:
        if (resultCode == RESULT_CANCELED) {
          Toast.makeText(this, "Google Play Services must be installed.", Toast.LENGTH_SHORT)
              .show();
          finish();
        }
        return;
    }
    super.onActivityResult(requestCode, resultCode, data);
  }
コード例 #18
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   LogUtils.logd(TAG, "requestCode: " + requestCode + " resultCode: " + resultCode);
   super.onActivityResult(requestCode, resultCode, data);
   /* Sometimes this activity starts an activity by proxy for its fragment, in that case we
    * delegate the result to the fragment here.
    */
   if (requestCode <= 1 << 16) mUiFragment.onActivityResult(requestCode, resultCode, data);
   /* However, the Fragment API munges activityForResult invocations from fragments by bitshifting
    * the request code up two bytes. This method doesn't handle such request codes; they dispatch
    * by the Fragment API path.
    */
   JRSession session = JRSession.getInstance();
   if (session != null && session.getCurrentOpenIDAppAuthProvider() != null) {
     session.getCurrentOpenIDAppAuthProvider().onActivityResult(requestCode, resultCode, data);
   }
 }
コード例 #19
0
 /**
  * When calling one of the API methods on Wallet such as {@link
  * Wallet#loadMaskedWallet(GoogleApiClient, MaskedWalletRequest, int)}, {@link
  * Wallet#loadFullWallet(GoogleApiClient, FullWalletRequest, int)}, {@link
  * Wallet#changeMaskedWallet(GoogleApiClient, String, String, int)} or resolving connection errors
  * with {@link ConnectionResult#startResolutionForResult(android.app.Activity, int)}, the given
  * {@link Activity}'s callback is called. Since in this case, the caller is a {@link Fragment},
  * and not {@link Activity} that is passed in, this callback is forwarded to {@link
  * BikestoreWalletFragment} or {@link PromoAddressLookupFragment} If the requestCode is one of the
  * predefined codes to handle the API calls, pass it to the fragment or else treat it normally.
  */
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   switch (requestCode) {
     case BikestoreWalletFragment.REQUEST_CODE_RESOLVE_CHANGE_MASKED_WALLET:
     case BikestoreWalletFragment.REQUEST_CODE_RESOLVE_LOAD_MASKED_WALLET:
     case BikestoreWalletFragment.REQUEST_CODE_RESOLVE_LOAD_FULL_WALLET:
     case BikestoreWalletFragment.REQUEST_CODE_RESOLVE_ERR:
     case PromoAddressLookupFragment.REQUEST_CODE_RESOLVE_ERR:
     case PromoAddressLookupFragment.REQUEST_CODE_RESOLVE_ADDRESS_LOOKUP:
       Fragment fragment = getSupportFragmentManager().findFragmentById(R.id.frag);
       fragment.onActivityResult(requestCode, resultCode, data);
       break;
     default:
       super.onActivityResult(requestCode, resultCode, data);
       break;
   }
 }
コード例 #20
0
  @Override
  public void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    boolean isResultOK = (resultCode == Activity.RESULT_OK);

    switch (requestCode) {
      case Constants.INTENT_READER_REBLOG:
        // user just returned from reblog activity - if post was successfully reblogged,
        // then update the local post and select the reblog button
        if (isResultOK) {
          mPost.isRebloggedByCurrentUser = true;
          TextView btnReblog = (TextView) findViewById(R.id.btn_reblog);
          btnReblog.setSelected(true);
        }
    }
  }
コード例 #21
0
ファイル: MainActivity.java プロジェクト: CrazyStu/Chuff
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (requestCode == RESULT_LOAD_IMAGE && resultCode == RESULT_OK && null != data) {
      Uri selectedImage = data.getData();
      String[] filePathColumn = {MediaStore.Images.Thumbnails.DATA};
      Cursor cursor = getContentResolver().query(selectedImage, filePathColumn, null, null, null);
      cursor.moveToFirst();
      int columnIndex = cursor.getColumnIndex(filePathColumn[0]);
      String picturePath = cursor.getString(columnIndex);
      cursor.close();
      Log.i("pic", picturePath);

      db.open();
      db.updatePic(1, picturePath);
      db.close();
      vgp1.updateMainPic();
    }
  }
コード例 #22
0
 /*
  * RETURNS WHEN LOADER ACTIVITY FINISH
  * @see android.support.v4.app.FragmentActivity#onActivityResult(int, int, android.content.Intent)
  */
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   // TODO Auto-generated method stub
   if (requestCode == Blog.REQUEST_LOAD) {
     switch (resultCode) {
       case Blog.REQUEST_LOADED:
         break;
       case Blog.REQUEST_FAILED:
         Toast.makeText(
                 getApplicationContext(),
                 getString(R.string.failed_loading_feed),
                 Toast.LENGTH_LONG)
             .show();
         break;
     }
   }
   super.onActivityResult(requestCode, resultCode, data);
 }
コード例 #23
0
ファイル: MainActivity.java プロジェクト: Ebingo/Ebingo
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   LogCat.i("--->", "requestCode:" + requestCode + " Result ok?:" + resultCode);
   super.onActivityResult(requestCode, resultCode, data);
   if (mPublishFragment != null && mPublishFragment.isMyRequest(requestCode)) {
     LogCat.i("--->", "mPublishFragment->onActivityResult");
     mPublishFragment.onActivityResult(requestCode, resultCode, data);
   } else if (requestCode == LoginDialog.REQUEST_CODE && resultCode == RESULT_OK) {
     if (mCenterFragment == null) {
       mCenterFragment = new CenterFragment();
     }
     changeFrag(mCenterFragment, mCurFragment);
     centerrb.setChecked(true);
   } else if (requestCode == BaseFragment.TO_SCAN) {
     if (!mMainFramgent.isHidden()) {
       mMainFramgent.onActivityResult(requestCode, resultCode, data);
     } else if (!mFindFrament.isHidden()) {
       mFindFrament.onActivityResult(requestCode, resultCode, data);
     }
   }
 }
コード例 #24
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if (requestCode == REQUEST_RESOLVE_GOOGLE_SERVICES_ERROR) {
      if (resultCode == RESULT_OK) {
        // Error resolved. Post event to LocationService.
        postEventAndFinish(new OnStrategyErrorSolved());
      } else {
        // Error remains. Post event to LocationService.
        postEventAndFinish(new OnStrategyErrorNotSolved());
      }
      isResolvingError = false;
    } else if (requestCode == REQUEST_RESOLVE_LOCATION_DISABLED) {
      if (LocationUtil.isLocationEnabled(getContentResolver())) {
        postEventAndFinish(new OnStrategyErrorSolved());
      } else {
        postEventAndFinish(new OnStrategyErrorNotSolved());
      }
      isResolvingError = false;
    }
  }
コード例 #25
0
ファイル: PinyinActivity.java プロジェクト: richmahn/Pinyin
 /*
  * Handle result from recording audio
  */
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
   super.onActivityResult(requestCode, resultCode, intent);
   if (resultCode == RESULT_OK) {
     if (requestCode == REQUEST_RECORD_AUDIO) {
       String sourcePath = getRealPathFromURI(intent.getData());
       File sourceF = new File(sourcePath);
       String destPath =
           PinyinApplication.getInstance()
                   .getExternalFilesDir(Environment.DIRECTORY_MUSIC)
                   .getAbsolutePath()
               + File.separator
               + mRecordAudioFile
               + ".mp3";
       try {
         sourceF.renameTo(new File(destPath));
       } catch (Exception e) {
         Toast.makeText(this, "Error:" + e.getMessage(), Toast.LENGTH_LONG).show();
       }
     }
   }
 }
コード例 #26
0
  @Override
  public void onActivityResult(int requestCode, int resultCode, Intent data) {
    Log.d(
        TAG,
        "onActivityResult. requestCode: "
            + requestCode
            + " resultCode: "
            + resultCode
            + " data: "
            + data);
    Uri uri = data.getData();
    if (null == uri) {
      return;
    }

    String path = uri.toString();
    if (!TextUtils.isEmpty(path)) {
      try {
        if (path.startsWith("file:///")) {
          path = path.substring("file://".length());
        }
        Log.d(TAG, "path: " + path);

        FelixWrapper.getInstance(this)
            .getFramework()
            .getBundleContext()
            .installBundle(path, new FileInputStream(new File(path)));
        updateUI();
      } catch (BundleException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } catch (FileNotFoundException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }
    super.onActivityResult(requestCode, resultCode, data);
  }
コード例 #27
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    if (requestCode == PLACE_PICKER_REQUEST && resultCode == Activity.RESULT_OK) {

      final Place place = PlacePicker.getPlace(data, this);
      final CharSequence name = place.getName();
      final CharSequence address = place.getAddress();
      String attributions = PlacePicker.getAttributions(data);
      if (attributions == null) {
        attributions = "";
      }

      // mName.setText(name);
      // mAddress.setText(address);
      // mAttributions.setText(Html.fromHtml(attributions));
      btnLocation.setText(address);
      btnLocation.setText("TTTTTTTTTTTTTTTTTTTTTTTTTTTTT");

    } else {
      super.onActivityResult(requestCode, resultCode, data);
    }
  }
コード例 #28
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   if (resultCode == Activity.RESULT_FIRST_USER && requestCode == SETTINGS_ACTIVITY) {
     if (data.getExtras().getBoolean("Exit", false)) {
       exit();
     } else {
       FragmentsAvailable newFragment =
           (FragmentsAvailable) data.getExtras().getSerializable("FragmentToDisplay");
       changeCurrentFragment(newFragment, null, true);
       selectMenu(newFragment);
     }
   } else if (resultCode == Activity.RESULT_FIRST_USER && requestCode == CALL_ACTIVITY) {
     getIntent().putExtra("PreviousActivity", CALL_ACTIVITY);
     boolean callTransfer = data == null ? false : data.getBooleanExtra("Transfer", false);
     if (LinphoneManager.getLc().getCallsNb() > 0) {
       initInCallMenuLayout(callTransfer);
     } else {
       resetClassicMenuLayoutAndGoBackToCallIfStillRunning();
     }
   } else {
     super.onActivityResult(requestCode, resultCode, data);
   }
 }
コード例 #29
0
 @Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   callbackManager.onActivityResult(requestCode, resultCode, data);
 }
コード例 #30
0
ファイル: Activity_Tab.java プロジェクト: Dickjay/STOU-Ebooks
 @Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   RegisterFacebook.CallbackResult(requestCode, resultCode, data);
 }