DisplayMetrics displayMetrics = new DisplayMetrics();
this.getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
int height = displayMetrics.heightPixels;
int width = displayMetrics.widthPixels;
String sdk = android.os.Build.VERSION.RELEASE;
String device = Build.MODEL;
TelephonyManager tm = (TelephonyManager) getBaseContext().getSystemService(
Context.TELEPHONY_SERVICE);
UUID deviceUuid = new UUID(android.provider.Settings.Secure.getString(getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID).hashCode(), ((long) tm.getDeviceId()
.hashCode() << 32) | tm.getSimSerialNumber().hashCode());
final String uniqueId = deviceUuid.toString();
this.getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
int height = displayMetrics.heightPixels;
int width = displayMetrics.widthPixels;
String sdk = android.os.Build.VERSION.RELEASE;
String device = Build.MODEL;
TelephonyManager tm = (TelephonyManager) getBaseContext().getSystemService(
Context.TELEPHONY_SERVICE);
UUID deviceUuid = new UUID(android.provider.Settings.Secure.getString(getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID).hashCode(), ((long) tm.getDeviceId()
.hashCode() << 32) | tm.getSimSerialNumber().hashCode());
final String uniqueId = deviceUuid.toString();