Java Code Examples for com.tencent.connect.common.Constants#REQUEST_OLD_SHARE
The following examples show how to use
com.tencent.connect.common.Constants#REQUEST_OLD_SHARE .
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: CoinDetailsActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 6 votes |
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); hideProgress(); // Tencent.onActivityResultData(requestCode, resultCode, data, new BaseUIListener(CoinDetailsActivity.this, true)); if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(CoinDetailsActivity.this, true)); } if (requestCode == 100 && resultCode == 300) { if (data.getExtras().getString("coin_type").equals(accountWithCoinBean.getCoinName())) { mDataBeanList.clear(); page = 0; mPostChainHistoryBean.setPage(page); presenter.getTransferHistoryData(mPostChainHistoryBean); BigDecimal oldcoinforcny = new BigDecimal(accountWithCoinBean.getCoinForCny()); BigDecimal oldcoin = new BigDecimal(accountWithCoinBean.getCoinNumber()); BigDecimal minuscny = new BigDecimal(data.getExtras().getString("coin_cny")); BigDecimal minuscoin = new BigDecimal(data.getExtras().getString("coin_number")); mIconTotalNumber.setText(StringUtils.addComma(BigDecimalUtil.minus(oldcoinforcny, minuscny, 4) + "") + " CNY"); mIconNumber.setText(StringUtils.addComma(BigDecimalUtil.minus(oldcoin, minuscoin, 4) + "") + " " + accountWithCoinBean.getCoinName()); mIconRmbNumber.setText("≈" + StringUtils.addComma(BigDecimalUtil.minus(oldcoinforcny, minuscny, 4) + "") + " CNY"); } } }
Example 2
Source File: BlackBoxCoinDetailsActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 6 votes |
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); hideProgress(); if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(BlackBoxCoinDetailsActivity.this, true)); } if (requestCode == 100 && resultCode == 300) { if (data.getExtras().getString("coin_type").equals(accountWithCoinBean.getCoinName())) { mDataBeanList.clear(); page = 0; mPostChainHistoryBean.setPage(0); presenter.getTransferHistoryData(mPostChainHistoryBean); } } }
Example 3
Source File: ContinueRdPacketActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 5 votes |
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); hideProgress(); if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(ContinueRdPacketActivity.this, true)); } }
Example 4
Source File: AnticipationRedPacketActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 5 votes |
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); hideProgress(); // Tencent.onActivityResultData(requestCode, resultCode, data, new BaseUIListener(AnticipationRedPacketActivity.this, true)); if (requestCode == Constants.REQUEST_API) { if (resultCode == Constants.REQUEST_QQ_SHARE || resultCode == Constants.REQUEST_QZONE_SHARE || resultCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(AnticipationRedPacketActivity.this, true)); } } }
Example 5
Source File: MakeCollectionsActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 5 votes |
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); hideProgress(); // Tencent.onActivityResultData(requestCode, resultCode, data, new BaseUIListener(MakeCollectionsActivity.this, true)); if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(MakeCollectionsActivity.this, true)); } }
Example 6
Source File: MainActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 5 votes |
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { Fragment fragment = homeFragment; fragment.onActivityResult(requestCode, resultCode, data); hideProgress(); if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(MainActivity.this, true)); } }
Example 7
Source File: AccountDetailsActivity.java From PocketEOS-Android with GNU Lesser General Public License v3.0 | 5 votes |
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); hideProgress(); if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_OLD_SHARE) { Tencent.handleResultData(data, new BaseUIListener(AccountDetailsActivity.this, true)); } }