|
|
@@ -35,6 +35,7 @@ import android.os.Bundle;
|
|
|
import android.os.Handler;
|
|
|
import android.os.HandlerThread;
|
|
|
import android.os.Message;
|
|
|
+import android.telephony.TelephonyManager;
|
|
|
import android.text.Editable;
|
|
|
import android.text.TextUtils;
|
|
|
import android.text.TextWatcher;
|
|
|
@@ -817,10 +818,15 @@ public class LoginActivity extends Activity implements OnClickListener {
|
|
|
|
|
|
params.put("macAddress", Mac);
|
|
|
params.put("ipAddress", Ip);
|
|
|
- params.put("phoneCode", Installation.id(LoginActivity.this));
|
|
|
+ params.put("phoneCode", "");
|
|
|
params.put("phoneType", android.os.Build.MODEL);
|
|
|
params.put("appVersion", verName);
|
|
|
params.put("systemType", "Android");
|
|
|
+ try {
|
|
|
+ TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
|
|
|
+ params.put("IMEI",telephonyManager.getDeviceId());
|
|
|
+ }catch(Exception e) {}
|
|
|
+ //params.put("ComputerName",telephonyManager.getDeviceId());
|
|
|
params.put("systemVersion", android.os.Build.VERSION.RELEASE);
|
|
|
thread = new HandlerThread("loginThread", 5);
|
|
|
thread.start();
|