예제 #1
0
  private void showAbout() {
    //        Utils.openUrlInsideApp(this, getString(R.string.about_url));
    //        Utils.overridePendingTransitionRight2Left(this);

    Intent intent = new Intent();
    //        intent.setClass(this, AboutActivity.class);
    intent.setClass(this, BaseActivity.class);
    startActivity(intent);
    Utils.overridePendingTransitionRight2Left(this);
  }
예제 #2
0
 public void onShowInvitationRequested() {
   if (isSignedInPublic()) {
     startActivityForResult(getGamesClient().getInvitationInboxIntent(), RC_UNUSED);
     Utils.overridePendingTransitionRight2Left(this);
   } else {
     showAlertPublic(getString(R.string.invitation_not_available));
     if (!currentFragmentTag.equalsIgnoreCase(GameBoardFragment.TAG)) {
       showGameBoardFragment();
     }
   }
 }
예제 #3
0
  private void sendToWeChat() {
    final String text =
        String.format(getString(R.string.share_text_full_total), appPreference.getTotalNumber());
    ScreenshotUtils.shotBitmap2(this, shareFileName);
    weChatUtils.createAppendReq2(this.getString(R.string.app_name), text, shareFileName);

    Intent intent = new Intent();
    intent.setClass(this, me.pjq.pushup.activity.SendToWXActivity.class);
    startActivity(intent);

    Utils.overridePendingTransitionRight2Left(this);
  }
예제 #4
0
 private void showUserGuide() {
   Utils.showUserGuard(this, UserGuideActivity.START_FROM_SETTINGS);
   Utils.overridePendingTransitionRight2Left(this);
 }