Example #1
0
 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();
   }
 }
Example #2
0
 private void test() {
   show();
   loginthread = new LoginThread(this, handler, "free.html");
   loginthread.start();
 }