From c84d4c7f75a7fa4c96737874b737dea01bcd0d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 1 Dec 2014 23:42:45 +0100 Subject: update TODO --- TODO | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 18ae30e..b6116aa 100644 --- a/TODO +++ b/TODO @@ -4,8 +4,8 @@ BUGS: TODO: - Animations - selected Hex - - battle description - - dice roll + - infantry move sound + - infantry shot - tutorial - moves - HQ moves @@ -19,3 +19,24 @@ NEXT: - inverted even/odd row scheme - automatic overlays to show unit stack depth +device unique ID: + final TelephonyManager tm = (TelephonyManager) getBaseContext().getSystemService(Context.TELEPHONY_SERVICE); + + final String tmDevice, tmSerial, androidId; + tmDevice = "" + tm.getDeviceId(); + tmSerial = "" + tm.getSimSerialNumber(); + androidId = "" + android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID); + + UUID deviceUuid = new UUID(androidId.hashCode(), ((long)tmDevice.hashCode() << 32) | tmSerial.hashCode()); + String deviceId = deviceUuid.toString(); + +better to track installation: + http://android-developers.blogspot.ch/2011/03/identifying-app-installations.html + + +integrate native android stuff in libgdx: + https://code.google.com/p/libgdx-users/wiki/IntegratingAndroidNativeUiElements + + +crypt: + https://code.google.com/p/gwt-crypto/ -- cgit v1.1-2-g2b99