summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO25
1 files 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/