com.tencent.connect.share.QzonePublish Java Examples

The following examples show how to use com.tencent.connect.share.QzonePublish. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: QQShareInstance.java    From ShareLoginPayUtil with Apache License 2.0 6 votes vote down vote up
private void shareToQZoneForText(String text, Activity activity, ShareListener listener) {
    if (mTencent == null) {
        listener.shareFailure(new Exception("分享失败"));
        recycle();
        activity.finish();
        return;
    }
    if (listener != null) {
        listener.shareStart();
    }
    final Bundle params = new Bundle();
    params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE,
            QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, text);
    mTencent.publishToQzone(activity, params, listener);
    recycle();
}
 
Example #2
Source File: QQShareInstance.java    From ShareLoginPayUtil with Apache License 2.0 6 votes vote down vote up
private void shareToQzoneForImage(String imagePath, Activity activity, ShareListener listener) {
    if (mTencent == null) {
        listener.shareFailure(new Exception("分享失败"));
        recycle();
        activity.finish();
        return;
    }
    if (listener != null) {
        listener.shareStart();
    }
    final Bundle params = new Bundle();
    final ArrayList<String> image = new ArrayList<>();
    image.add(imagePath);
    params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE,
            QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    params.putStringArrayList(QzoneShare.SHARE_TO_QQ_IMAGE_URL, image);
    mTencent.publishToQzone(activity, params, listener);

    recycle();
}
 
Example #3
Source File: QQShareEntity.java    From SocialHelper with Apache License 2.0 5 votes vote down vote up
/**
 * 创建分享图文说说到qq空间
 *
 * @param summary 摘要,长度限制600个字
 */
public static ShareEntity createPublishTextToQZone(@ParamsRequired String summary) {
    ShareEntity entity = new ShareEntity(ShareEntity.TYPE_PUBLISH);
    addParams(entity.params, QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    addParams(entity.params, QzoneShare.SHARE_TO_QQ_SUMMARY, summary);
    return entity;
}
 
Example #4
Source File: QQShareEntity.java    From SocialHelper with Apache License 2.0 5 votes vote down vote up
/**
 * 创建分享图文说说到qq空间
 *
 * @param imgUrl 图片地址,只支持本地图片;注:<=9张图片为发表说说,>9张为上传图片到相册
 */
public static ShareEntity createPublishImageToQZone(@ParamsRequired ArrayList<String> imgUrl) {
    ShareEntity entity = new ShareEntity(ShareEntity.TYPE_PUBLISH);
    addParams(entity.params, QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    addParams(entity.params, QzonePublish.PUBLISH_TO_QZONE_IMAGE_URL, imgUrl);
    return entity;
}
 
Example #5
Source File: QQShareEntity.java    From SocialHelper with Apache License 2.0 5 votes vote down vote up
/**
 * 创建分享视频说说到qq空间
 *
 * @param videoUrl 视频地址,只支持本地视频;上传视频的大小最好控制在100M以内(因为QQ普通用户上传视频必须在100M以内,黄钻用户可上传1G以内视频,大于1G会直接报错。)
 */
public static ShareEntity createPublishVideoToQZone(@ParamsRequired String videoUrl) {
    ShareEntity entity = new ShareEntity(ShareEntity.TYPE_PUBLISH);
    addParams(entity.params, QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHVIDEO);
    addParams(entity.params, QzonePublish.PUBLISH_TO_QZONE_VIDEO_PATH, videoUrl);
    return entity;
}
 
Example #6
Source File: QQPlatform.java    From SocialSdkLibrary with Apache License 2.0 5 votes vote down vote up
private void shareText(int shareTarget, Activity activity, ShareObj shareMediaObj) {
    if (shareTarget == Target.SHARE_QQ_FRIENDS) {
        try {
            IntentShareUtil.shareQQText(activity, shareMediaObj);
        } catch (SocialError e) {
            e.printStackTrace();
            onShareFail(e);
        }
    } else if (shareTarget == Target.SHARE_QQ_ZONE) {
        final Bundle params = new Bundle();
        params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
        params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, shareMediaObj.getSummary());
        mTencentApi.publishToQzone(activity, params, mIUiListenerWrap);
    }
}
 
Example #7
Source File: QQShareInstance.java    From ShareUtil with Apache License 2.0 5 votes vote down vote up
private void shareToQZoneForText(String text, Activity activity, ShareListener listener) {
    final Bundle params = new Bundle();
    params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE,
            QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, text);
    mTencent.publishToQzone(activity, params, listener);
}
 
Example #8
Source File: QQShareInstance.java    From ShareUtil with Apache License 2.0 5 votes vote down vote up
private void shareToQzoneForImage(String imagePath, Activity activity, ShareListener listener) {
    final Bundle params = new Bundle();
    final ArrayList<String> image = new ArrayList<>();
    image.add(imagePath);
    params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE,
            QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    params.putStringArrayList(QzoneShare.SHARE_TO_QQ_IMAGE_URL, image);
    mTencent.publishToQzone(activity, params, listener);
}
 
Example #9
Source File: QQShareInstance.java    From smart-farmer-android with Apache License 2.0 5 votes vote down vote up
private void shareToQZoneForText(String text, Activity activity, ShareListener listener) {
    final Bundle params = new Bundle();
    params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE,
            QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, text);
    mTencent.publishToQzone(activity, params, listener);
}
 
Example #10
Source File: QQShareInstance.java    From smart-farmer-android with Apache License 2.0 5 votes vote down vote up
private void shareToQzoneForImage(String imagePath, Activity activity, ShareListener listener) {
    final Bundle params = new Bundle();
    final ArrayList<String> image = new ArrayList<>();
    image.add(imagePath);
    params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE,
            QzonePublish.PUBLISH_TO_QZONE_TYPE_PUBLISHMOOD);
    params.putStringArrayList(QzoneShare.SHARE_TO_QQ_IMAGE_URL, image);
    mTencent.publishToQzone(activity, params, listener);
}
 
Example #11
Source File: ContinueRdPacketActivity.java    From PocketEOS-Android with GNU Lesser General Public License v3.0 4 votes vote down vote up
@OnClick({R.id.iv_back, R.id.go_red_pocket})
public void onViewClicked(View view) {
    switch (view.getId()) {
        case R.id.iv_back:
            finish();
            break;
        case R.id.go_red_pocket:
            final Bundle params = new Bundle();
            if (dialog == null) {
                dialog = new ShareDialog(ContinueRdPacketActivity.this, new ShareCallBack() {
                    @Override
                    public void goWeixinFriend() {
                        WxShareAndLoginUtils.WxUrlShare(ContinueRdPacketActivity.this,
                                "https://pocketeos.com",
                                getString(R.string.share_redpacket_title),
                                mRedPacketStatus.getText().toString(),
                                MyApplication.getInstance().getUserBean().getWallet_img(),
                                WxShareAndLoginUtils.WECHAT_FRIEND);
                    }

                    @Override
                    public void goWeixinCircle() {
                        WxShareAndLoginUtils.WxUrlShare(ContinueRdPacketActivity.this, "https://pocketeos.com",
                                getString(R.string.share_redpacket_title),
                                mRedPacketStatus.getText().toString(),
                                MyApplication.getInstance().getUserBean().getWallet_img(),
                                WxShareAndLoginUtils.WECHAT_MOMENT);
                    }

                    @Override
                    public void goQQFriend() {
                        params.putInt(QQShare.SHARE_TO_QQ_KEY_TYPE, QQShare.SHARE_TO_QQ_TYPE_DEFAULT);
                        params.putString(QQShare.SHARE_TO_QQ_TITLE, getString(R.string.share_redpacket_title));// 标题
                        params.putString(QQShare.SHARE_TO_QQ_SUMMARY, mRedPacketStatus.getText().toString());// 摘要
                        params.putString(QQShare.SHARE_TO_QQ_TARGET_URL, "http://10.0.0.48:8081?id=" + mDataBean.getId() + "&verifystring=" + mDataBean.getVerifyString());// 内容地址
                        params.putString(QQShare.SHARE_TO_QQ_IMAGE_URL, "http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");// 网络图片地址
                        params.putString(QQShare.SHARE_TO_QQ_EXT_INT, "其它附加功能");
                        MyApplication.getInstance().getTencent().shareToQQ(ContinueRdPacketActivity.this, params, new BaseUIListener(ContinueRdPacketActivity.this, true));
                    }

                    @Override
                    public void goQzone() {
                        params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzoneShare.SHARE_TO_QZONE_TYPE_IMAGE_TEXT);
                        params.putString(QzoneShare.SHARE_TO_QQ_TITLE, getString(R.string.share_redpacket_title));// 标题
                        params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, mRedPacketStatus.getText().toString());// 摘要
                        params.putString(QzoneShare.SHARE_TO_QQ_TARGET_URL, "https://pocketeos.com");// 内容地址
                        ArrayList<String> imgUrlList = new ArrayList<>();
                        imgUrlList.add("http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");
                        params.putStringArrayList(QzonePublish.PUBLISH_TO_QZONE_IMAGE_URL,
                                imgUrlList);// 图片地址ArrayList
                        MyApplication.getInstance().getTencent().shareToQzone(ContinueRdPacketActivity.this, params, new BaseUIListener(ContinueRdPacketActivity.this, true));
                    }
                });
                dialog.setContent(getString(R.string.red_packet_send_to));
                dialog.setCancelable(true);
                dialog.show();
            } else {
                dialog.show();
            }

            break;
    }
}
 
Example #12
Source File: AnticipationRedPacketActivity.java    From PocketEOS-Android with GNU Lesser General Public License v3.0 4 votes vote down vote up
@OnClick({R.id.go_weixin_friend, R.id.go_weixin_circle, R.id.go_qq_friend, R.id.go_qzone})
public void onViewClicked(View view) {
    Bundle params = new Bundle();
    if (!TextUtils.isEmpty(message)) {
        presenter.getAuthRedPacketData(mDataBean.getId(), getIntent().getStringExtra("txtid"));
    } else {
        switch (view.getId()) {
            case R.id.go_weixin_friend:
                WxShareAndLoginUtils.WxUrlShare(AnticipationRedPacketActivity.this, "https://pocketeos.com", getString(R.string.share_redpacket_title), getString(R.string.share_redpacket_message),
                        MyApplication.getInstance().getUserBean().getWallet_img(),
                        WxShareAndLoginUtils.WECHAT_FRIEND);
                break;
            case R.id.go_weixin_circle:
                WxShareAndLoginUtils.WxUrlShare(AnticipationRedPacketActivity.this, "https://pocketeos.com", getString(R.string.share_redpacket_title),
                        getString(R.string.share_redpacket_message),
                        MyApplication.getInstance().getUserBean().getWallet_img(),
                        WxShareAndLoginUtils.WECHAT_MOMENT);
                break;
            case R.id.go_qq_friend:
                params.putInt(QQShare.SHARE_TO_QQ_KEY_TYPE, QQShare.SHARE_TO_QQ_TYPE_DEFAULT);
                params.putString(QQShare.SHARE_TO_QQ_TITLE, getString(R.string.share_redpacket_title));// 标题
                params.putString(QQShare.SHARE_TO_QQ_SUMMARY, getString(R.string.share_redpacket_message));// 摘要
                params.putString(QQShare.SHARE_TO_QQ_TARGET_URL, "http://192.168.33.17:8081?id=" + mDataBean.getId() + "&verifystring=" + mDataBean.getVerifyString());// 内容地址
                params.putString(QQShare.SHARE_TO_QQ_IMAGE_URL, "http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");// 网络图片地址
                params.putString(QQShare.SHARE_TO_QQ_EXT_INT, "其它附加功能");
                MyApplication.getInstance().getTencent().shareToQQ(AnticipationRedPacketActivity.this, params, new BaseUIListener(AnticipationRedPacketActivity.this, true));
                break;
            case R.id.go_qzone:
                params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzoneShare.SHARE_TO_QZONE_TYPE_IMAGE_TEXT);
                params.putString(QzoneShare.SHARE_TO_QQ_TITLE, getString(R.string.share_redpacket_title));// 标题
                params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, getString(R.string.share_redpacket_message));// 摘要
                params.putString(QzoneShare.SHARE_TO_QQ_TARGET_URL, "https://pocketeos.com");// 内容地址
                ArrayList<String> imgUrlList = new ArrayList<>();
                imgUrlList.add("http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");
                params.putStringArrayList(QzonePublish.PUBLISH_TO_QZONE_IMAGE_URL,
                        imgUrlList);// 图片地址ArrayList
                MyApplication.getInstance().getTencent().shareToQzone(AnticipationRedPacketActivity.this, params, new BaseUIListener(AnticipationRedPacketActivity.this, true));
                break;
        }
    }
}
 
Example #13
Source File: CoinDetailsActivity.java    From PocketEOS-Android with GNU Lesser General Public License v3.0 4 votes vote down vote up
@OnClick({R.id.img_right, R.id.go_transfer_accounts, R.id.go_make_collections, R.id.go_red_packet})
public void onViewClicked(View view) {
    Bundle bundle = new Bundle();
    switch (view.getId()) {
        case R.id.img_right://分享操作
            String desc = null;
            final Bundle params = new Bundle();
            if (accountWithCoinBean.getCoinName().equals("OCT")) {
                desc = getString(R.string.reference_price_cny) + StringUtils.addComma(accountWithCoinBean.getOct_price_cny()) + getString(R.string.toast_down_up) + accountWithCoinBean.getCoinUpsAndDowns() + getString(R.string.all_market_price)+ StringUtils.addComma(accountWithCoinBean.getOct_market_cap_cny());
            } else {
                desc =  getString(R.string.reference_price_cny) + StringUtils.addComma(accountWithCoinBean.getEos_price_cny()) + getString(R.string.toast_down_up) + accountWithCoinBean.getCoinUpsAndDowns() + getString(R.string.all_market_price) + StringUtils.addComma(accountWithCoinBean.getEos_market_cap_cny());
            }
            if (dialog == null) {
                bundle.putParcelable("coin", accountWithCoinBean);
                final String finalDesc = desc;
                dialog = new ShareCoinDetailsDialog(CoinDetailsActivity.this, new ShareCoinDetailsCallBack() {
                    @Override
                    public void goWeixinFriend() {
                        WxShareAndLoginUtils.WxUrlShare(CoinDetailsActivity.this, "https://pocketeos.com", accountWithCoinBean.getCoinName() + "最新资讯详情", finalDesc,
                                MyApplication.getInstance().getUserBean().getWallet_img(),
                                WxShareAndLoginUtils.WECHAT_FRIEND);
                    }

                    @Override
                    public void goWeixinCircle() {
                        WxShareAndLoginUtils.WxUrlShare(CoinDetailsActivity.this, "https://pocketeos.com", accountWithCoinBean.getCoinName() + "最新资讯详情", finalDesc,
                                MyApplication.getInstance().getUserBean().getWallet_img(),
                                WxShareAndLoginUtils.WECHAT_MOMENT);
                    }

                    @Override
                    public void goQQFriend() {
                        params.putInt(QQShare.SHARE_TO_QQ_KEY_TYPE, QQShare.SHARE_TO_QQ_TYPE_DEFAULT);
                        params.putString(QQShare.SHARE_TO_QQ_TITLE, accountWithCoinBean.getCoinName() + "最新资讯详情");// 标题
                        params.putString(QQShare.SHARE_TO_QQ_SUMMARY, finalDesc);// 摘要
                        params.putString(QQShare.SHARE_TO_QQ_TARGET_URL, "https://pocketeos.com");// 内容地址
                        params.putString(QQShare.SHARE_TO_QQ_IMAGE_URL, "http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");
                        params.putString(QQShare.SHARE_TO_QQ_EXT_INT, "其它附加功能");
                        MyApplication.getInstance().getTencent().shareToQQ(CoinDetailsActivity.this, params, new BaseUIListener(CoinDetailsActivity.this, true));
                    }

                    @Override
                    public void goQzone() {
                        params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzoneShare.SHARE_TO_QZONE_TYPE_IMAGE_TEXT);
                        params.putString(QzoneShare.SHARE_TO_QQ_TITLE, accountWithCoinBean.getCoinName() + "最新资讯详情");// 标题
                        params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, finalDesc);// 摘要
                        params.putString(QzoneShare.SHARE_TO_QQ_TARGET_URL, "https://pocketeos.com");// 内容地址
                        ArrayList<String> imgUrlList = new ArrayList<>();
                        imgUrlList.add("http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");
                        params.putStringArrayList(QzonePublish.PUBLISH_TO_QZONE_IMAGE_URL,
                                imgUrlList);// 图片地址ArrayList
                        MyApplication.getInstance().getTencent().shareToQzone(CoinDetailsActivity.this, params, new BaseUIListener(CoinDetailsActivity.this, true));
                    }
                });
                dialog.setContent(bundle);
                dialog.setCancelable(true);
                dialog.show();
            } else {
                dialog.show();
            }

            break;
        case R.id.go_transfer_accounts:
            bundle.putString("account", getIntent().getStringExtra("account"));
            bundle.putString("coin", accountWithCoinBean.getCoinName());
            bundle.putString("from", "coin");
            ActivityUtils.next(CoinDetailsActivity.this, TransferAccountsActivity.class, bundle, 100);
            break;
        case R.id.go_make_collections:
            bundle.putString("account", getIntent().getStringExtra("account"));
            bundle.putString("coin", accountWithCoinBean.getCoinName());
            ActivityUtils.next(CoinDetailsActivity.this, MakeCollectionsActivity.class, bundle);
            break;
        case R.id.go_red_packet:
            ActivityUtils.next(CoinDetailsActivity.this, EmptyActivity.class);
            break;
    }
}
 
Example #14
Source File: BlackBoxCoinDetailsActivity.java    From PocketEOS-Android with GNU Lesser General Public License v3.0 4 votes vote down vote up
@OnClick({R.id.img_right, R.id.go_transfer_accounts, R.id.go_make_collections})
public void onViewClicked(View view) {
    Bundle bundle = new Bundle();
    switch (view.getId()) {
        case R.id.img_right:
            String desc = null;
            final Bundle params = new Bundle();
            if (accountWithCoinBean.getCoinName().equals("OCT")) {
                desc = getString(R.string.reference_price_cny) + StringUtils.addComma(accountWithCoinBean.getOct_price_cny()) + getString(R.string.toast_down_up) + accountWithCoinBean.getCoinUpsAndDowns() + getString(R.string.all_market_price) + StringUtils.addComma(accountWithCoinBean.getOct_market_cap_cny());
            } else {
                desc = getString(R.string.reference_price_cny) + StringUtils.addComma(accountWithCoinBean.getEos_price_cny()) + getString(R.string.toast_down_up) + accountWithCoinBean.getCoinUpsAndDowns() + getString(R.string.all_market_price) + StringUtils.addComma(accountWithCoinBean.getEos_market_cap_cny());
            }
            if (dialog == null) {
                bundle.putParcelable("coin", accountWithCoinBean);
                final String finalDesc = desc;
                dialog = new ShareCoinDetailsDialog(BlackBoxCoinDetailsActivity.this, new ShareCoinDetailsCallBack() {
                    @Override
                    public void goWeixinFriend() {
                        WxShareAndLoginUtils.WxUrlShare(BlackBoxCoinDetailsActivity.this, "https://pocketeos.com", accountWithCoinBean.getCoinName() + "最新资讯详情", finalDesc,
                                MyApplication.getInstance().getUserBean().getWallet_img(),
                                WxShareAndLoginUtils.WECHAT_FRIEND);
                    }

                    @Override
                    public void goWeixinCircle() {
                        WxShareAndLoginUtils.WxUrlShare(BlackBoxCoinDetailsActivity.this, "https://pocketeos.com", accountWithCoinBean.getCoinName() + "最新资讯详情", finalDesc,
                                MyApplication.getInstance().getUserBean().getWallet_img(),
                                WxShareAndLoginUtils.WECHAT_MOMENT);
                    }

                    @Override
                    public void goQQFriend() {
                        params.putInt(QQShare.SHARE_TO_QQ_KEY_TYPE, QQShare.SHARE_TO_QQ_TYPE_DEFAULT);
                        params.putString(QQShare.SHARE_TO_QQ_TITLE, accountWithCoinBean.getCoinName() + "最新资讯详情");// 标题
                        params.putString(QQShare.SHARE_TO_QQ_SUMMARY, finalDesc);// 摘要
                        params.putString(QQShare.SHARE_TO_QQ_TARGET_URL, "https://pocketeos.com");// 内容地址
                        params.putString(QQShare.SHARE_TO_QQ_IMAGE_URL, "http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");
                        params.putString(QQShare.SHARE_TO_QQ_EXT_INT, "其它附加功能");
                        MyApplication.getInstance().getTencent().shareToQQ(BlackBoxCoinDetailsActivity.this, params, new BaseUIListener(BlackBoxCoinDetailsActivity.this, true));
                    }

                    @Override
                    public void goQzone() {
                        params.putInt(QzoneShare.SHARE_TO_QZONE_KEY_TYPE, QzoneShare.SHARE_TO_QZONE_TYPE_IMAGE_TEXT);
                        params.putString(QzoneShare.SHARE_TO_QQ_TITLE, accountWithCoinBean.getCoinName() + "最新资讯详情");// 标题
                        params.putString(QzoneShare.SHARE_TO_QQ_SUMMARY, finalDesc);// 摘要
                        params.putString(QzoneShare.SHARE_TO_QQ_TARGET_URL, "https://pocketeos.com");// 内容地址
                        ArrayList<String> imgUrlList = new ArrayList<>();
                        imgUrlList.add("http://pocketeos.oss-cn-beijing.aliyuncs.com/yl/pocketeos.png?Expires=1839400748&OSSAccessKeyId=LTAIdWMZ4ikcYbmF&Signature=dAyqIz3DfCq4emFtdUu%2F%2Fq7kQYU%3D");
                        params.putStringArrayList(QzonePublish.PUBLISH_TO_QZONE_IMAGE_URL,
                                imgUrlList);// 图片地址ArrayList
                        MyApplication.getInstance().getTencent().shareToQzone(BlackBoxCoinDetailsActivity.this, params, new BaseUIListener(BlackBoxCoinDetailsActivity.this, true));
                    }
                });
                dialog.setContent(bundle);
                dialog.setCancelable(true);
                dialog.show();
            } else {
                dialog.show();
            }
            break;
        case R.id.go_transfer_accounts:
            bundle.putString("account", getIntent().getStringExtra("account"));
            bundle.putString("coin", accountWithCoinBean.getCoinName());
            bundle.putString("from", "coin");
            ActivityUtils.next(BlackBoxCoinDetailsActivity.this, TransferAccountsActivity.class, bundle, 100);
            break;
        case R.id.go_make_collections:
            bundle.putString("account", getIntent().getStringExtra("account"));
            bundle.putString("coin", accountWithCoinBean.getCoinName());
            bundle.putString("from", "coin");
            ActivityUtils.next(BlackBoxCoinDetailsActivity.this, TransferAccountsActivity.class, bundle, 100);
            break;
    }
}