Code example for UUID

Methods: toString

0
		    String tmDevice, tmSerial, tmPhone, androidId;
		    tmDevice = "" + tm.getDeviceId();
		    tmSerial = "" + tm.getSimSerialNumber();
		    androidId = "" + android.provider.Settings.Secure.getString(context.getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
	 
		    UUID deviceUuid = new UUID(androidId.hashCode(), ((long)tmDevice.hashCode() << 32) | tmSerial.hashCode());
		    deviceId = deviceUuid.toString();
		     
		} 
		 
		System.err.println("device:" + deviceId);
		 
	    return deviceId;
	} 
	 
	 
	public static String getConfig(int id){
		 
		try{ 
			return MainApplication.get(R.string.tablet); 
Connect your IDE to all the code out there  Get Codota for Java