直接上代码: import java.text.SimpleDateFormat; import java.util.Date; /** * 获取long型唯一ID */ public class ID { private static long tmpID = 0; private static boolean tmpIDlocked = false; public static long getId() { long ltime = 0; while (true) { if(tmpIDloc
In iOS 7 and later, if you ask for the MAC address of an iOS device, the system returns the value 02:00:00:00:00:00. If you need to identify the device, use the identifierForVendor property of UIDevice instead. (Apps that need an identifier for their