Browse Source

默认地址改为获取记录

master
姜鹏 1 year ago
parent
commit
3bea6c868a
  1. 3
      app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java

3
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) {

Loading…
Cancel
Save