diff --git a/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java b/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java index 02cf984..e809b2b 100644 --- a/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java +++ b/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java @@ -49,6 +49,7 @@ public class SetSiteActivity extends AppCompatActivity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_setsite); bindView(); + login_ip.setText((String)SharedPreUtil.getData(this,"ip","")); } @Override public boolean onKeyDown(int keyCode, KeyEvent event) { @@ -76,8 +77,6 @@ public class SetSiteActivity extends AppCompatActivity { login_ip = findViewById(R.id.login_ip); tvMsg = findViewById(R.id.tv_msg); - login_ip.setText("http://10.100.3.13:8020"); - test.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) {