@Override
 protected void onResume() {
   super.onResume();
   for (int i = 0; i < mEditTextList.size(); i++) {
     Log.d(TAG, "Get ipnumber.Number" + i + " is : " + mIpDailingUtils.getIpNumber(i));
     mEditTextList.get(i).setText(mIpDailingUtils.getIpNumber(i));
     mEditTextList.get(i).setSelection(mIpDailingUtils.getIpNumber(i).length());
   }
 }
 @Override
 public boolean onPreferenceChange(Preference preference, Object newValue) {
   if (preference == mIpDailingOn) {
     mIpDailingPreference.setEnabled(!mIpDailingOn.isChecked());
     mIpDailingUtils.setIsIpDialer(!mIpDailingOn.isChecked());
   }
   return true;
 }
 @Override
 protected void onResume() {
   super.onResume();
   mSim1Setting.setEnabled(PhoneFactory.isCardReady(0));
   mSim2Setting.setEnabled(PhoneFactory.isCardReady(1));
   mIpDailingOn.setChecked(mIpDailingUtils.getIsIpDial());
   mIpDailingPreference.setEnabled(mIpDailingOn.isChecked());
   mGsmButtonCallVibrate.setChecked(
       (defaultSharedpref == null ? true : defaultSharedpref.getBoolean(KEY_CALL_VIBRATE, true)));
 }
  private void saveIpnumber() {
    Log.d(TAG, "saveIpnumber()...");
    List<String> numbers = new ArrayList<String>();
    Editable edit = null;
    String number = null;
    for (int i = 0; i < mEditTextList.size(); i++) {
      edit = mEditTextList.get(i).getText();
      if (edit != null) {
        number = edit.toString();
      } else {
        number = "";
      }
      numbers.add(number);
    }

    for (int j = 0; j < numbers.size(); j++) {
      Log.d(TAG, "Save ipnumber.Number" + j + " is : " + numbers.get(j));
      mIpDailingUtils.setIpNumber(numbers.get(j), j);
    }
  }