modify blockmeta explorer to btc.com
MODIFY
bither-android/res/layout/dialog_address_watch_only_option.xml
bither-android/res/layout/dialog_address_watch_only_option.xml
android:layout_height="wrap_content"
android:background="@drawable/ui_touchable_foreground"
android:padding="10dp"
- android:text="@string/address_option_view_on_blockmeta"
+ android:text="@string/address_option_view_on_btc"
android:textColor="@color/dialog_text_color_selector"
android:textSize="18sp"/>

MODIFY
bither-android/res/layout/dialog_address_with_private_key_option.xml
bither-android/res/layout/dialog_address_with_private_key_option.xml
android:layout_height="wrap_content"
android:background="@drawable/ui_touchable_foreground"
android:padding="10dp"
- android:text="@string/address_option_view_on_blockmeta"
+ android:text="@string/address_option_view_on_btc"
android:textColor="@color/dialog_text_color_selector"
android:textSize="18sp" />

MODIFY
bither-android/res/values/strings.xml
bither-android/res/values/strings.xml
<string name="address_option_delete">Stop monitoring</string>
<string name="address_option_remonitor">Remonitor</string>
<string name="address_option_view_on_blockchain_info">View on Blockchain.info</string>
- <string name="address_option_view_on_blockmeta">View on BlockMeta.com</string>
+ <string name="address_option_view_on_btc">View on btc.com</string>
<string name="address_delete_confirmation">Sure to stop monitoring this address?</string>
<string name="address_remonitor_confirmation">Sure to remonitor this address?</string>
<string name="address_monitor_failed">Monitor failed</string>

MODIFY
bither-android/src/net/bither/TrashCanActivity.java
bither-android/src/net/bither/TrashCanActivity.java
@@ -226,12 +226,12 @@ public class TrashCanActivity extends SwipeRightFragmentActivity {
String defaultCountry = Locale.getDefault().getCountry();
if (Utils.compareString(defaultCountry, "CN") || Utils.compareString
(defaultCountry, "cn")) {
- actions.add(new Action(R.string.address_option_view_on_blockmeta,
+ actions.add(new Action(R.string.address_option_view_on_btc,
new Runnable() {
@Override
public void run() {
UIUtil.gotoBrower(TrashCanActivity.this,
- BitherUrl.BLOCKMETA_ADDRESS_URL + address.getAddress());
+ BitherUrl.BTC_COM_ADDRESS_URL + address.getAddress());
}
}));
}

MODIFY
bither-android/src/net/bither/activity/hot/EnterpriseHDMAddressDetailActivity.java
bither-android/src/net/bither/activity/hot/EnterpriseHDMAddressDetailActivity.java
@@ -73,12 +73,12 @@ public class EnterpriseHDMAddressDetailActivity extends AddressDetailActivity {
String defaultCountry = Locale.getDefault().getCountry();
if (Utils.compareString(defaultCountry, "CN") || Utils.compareString
(defaultCountry, "cn")) {
- actions.add(new Action(R.string.address_option_view_on_blockmeta, new
+ actions.add(new Action(R.string.address_option_view_on_btc, new
Runnable() {
@Override
public void run() {
UIUtil.gotoBrower(EnterpriseHDMAddressDetailActivity.this, BitherUrl
- .BLOCKMETA_ADDRESS_URL + address.getAddress());
+ .BTC_COM_ADDRESS_URL + address.getAddress());
}
}));
}

MODIFY
bither-android/src/net/bither/ui/base/dialog/DialogAddressWatchOnlyOption.java
bither-android/src/net/bither/ui/base/dialog/DialogAddressWatchOnlyOption.java
@@ -62,10 +62,10 @@ public class DialogAddressWatchOnlyOption extends DialogWithActions {
String defaultCountry = Locale.getDefault().getCountry();
if (Utils.compareString(defaultCountry, "CN") || Utils.compareString(defaultCountry,
"cn")) {
- actions.add(new Action(R.string.address_option_view_on_blockmeta, new Runnable() {
+ actions.add(new Action(R.string.address_option_view_on_btc, new Runnable() {
@Override
public void run() {
- UIUtil.gotoBrower(activity, BitherUrl.BLOCKMETA_ADDRESS_URL + address
+ UIUtil.gotoBrower(activity, BitherUrl.BTC_COM_ADDRESS_URL + address
.getAddress());
}
}));

MODIFY
bither-android/src/net/bither/ui/base/dialog/DialogAddressWithPrivateKeyOption.java
bither-android/src/net/bither/ui/base/dialog/DialogAddressWithPrivateKeyOption.java
@@ -54,10 +54,10 @@ public class DialogAddressWithPrivateKeyOption extends DialogWithActions {
String defaultCountry = Locale.getDefault().getCountry();
if (Utils.compareString(defaultCountry, "CN") || Utils.compareString(defaultCountry,
"cn")) {
- actions.add(new Action(R.string.address_option_view_on_blockmeta, new Runnable() {
+ actions.add(new Action(R.string.address_option_view_on_btc, new Runnable() {
@Override
public void run() {
- UIUtil.gotoBrower(activity, BitherUrl.BLOCKMETA_ADDRESS_URL + address
+ UIUtil.gotoBrower(activity, BitherUrl.BTC_COM_ADDRESS_URL + address
.getAddress());
}
}));

MODIFY
bither-android/src/net/bither/ui/base/dialog/DialogHDMAddressOptions.java
bither-android/src/net/bither/ui/base/dialog/DialogHDMAddressOptions.java
@@ -73,10 +73,10 @@ public class DialogHDMAddressOptions extends DialogWithActions {
String defaultCountry = Locale.getDefault().getCountry();
if (Utils.compareString(defaultCountry, "CN") || Utils.compareString(defaultCountry,
"cn")) {
- acitons.add(new Action(R.string.address_option_view_on_blockmeta, new Runnable() {
+ acitons.add(new Action(R.string.address_option_view_on_btc, new Runnable() {
@Override
public void run() {
- UIUtil.gotoBrower(activity, BitherUrl.BLOCKMETA_ADDRESS_URL + address
+ UIUtil.gotoBrower(activity, BitherUrl.BTC_COM_ADDRESS_URL + address
.getAddress());
}
}));

MODIFY
bither-android/src/net/bither/ui/base/dialog/DialogHdAccountOldAddresses.java
bither-android/src/net/bither/ui/base/dialog/DialogHdAccountOldAddresses.java
@@ -183,12 +183,12 @@ public class DialogHdAccountOldAddresses extends CenterDialog {
String defaultCountry = Locale.getDefault().getCountry();
if (Utils.compareString(defaultCountry, "CN") || Utils.compareString
(defaultCountry, "cn")) {
- actions.add(new Action(R.string.address_option_view_on_blockmeta,
+ actions.add(new Action(R.string.address_option_view_on_btc,
new Runnable() {
@Override
public void run() {
UIUtil.gotoBrower(activity, BitherUrl
- .BLOCKMETA_ADDRESS_URL + address);
+ .BTC_COM_ADDRESS_URL + address);
}
}));
}

modify blockmeta explorer to btc.com