android uuid (1) 썸네일형 리스트형 [안드로이드] kotlin uuid 생성코드 private fun deviceId(): String? { val deviceIdKey = "makeDeviceID" val sharedPreferences = getSharedPreferences("AppDate", 0) var deviceId = sharedPreferences.getString(deviceIdKey, null) if (deviceId == null) { deviceId = retrieveDeviceId() if (deviceId == null) { deviceId = retrieveAndroidIdOrGenerateUUID() } .. 이전 1 다음