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); }