private void autologin() { String active = name.getText().toString(); String password = pass.getText().toString(); if (!"".equals(active) && !"".equals(password)) { String url = "live.jsp?active=" + active + "&pass="******"&mac=" + Utils.getLocalMacAddressFromIp(LoginActivity.this); show(); loginthread = new LoginThread(this, handler, url); loginthread.start(); } }
private void test() { show(); loginthread = new LoginThread(this, handler, "free.html"); loginthread.start(); }