summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-01 23:42:45 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-01 23:42:45 +0100
commitc84d4c7f75a7fa4c96737874b737dea01bcd0d82 (patch)
treef292554e74aa107b8a8752544231181f4a821b4e
parent8765640ecf63cb0222c2327550c0ccf9b770e438 (diff)
downloadRustAndDust-c84d4c7f75a7fa4c96737874b737dea01bcd0d82.zip
RustAndDust-c84d4c7f75a7fa4c96737874b737dea01bcd0d82.tar.gz
update TODO
-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/