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); }
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(); } } }
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); }
private void showUserGuide() { Utils.showUserGuard(this, UserGuideActivity.START_FROM_SETTINGS); Utils.overridePendingTransitionRight2Left(this); }