blob: 4ed01f7af31d52ca3445766f1857a621dbc5eb3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
BUGS:
- resize -> Hud issues
TODO:
- Animations
- selected Hex
- infantry move sound
- infantry shot
- tutorial
- moves
- HQ moves
- objectives
- engagement
- correctly dispose of everything at the end of a game
- pause / resume
- maybe do not need cancel button in engagement and HQ mode, but must support canCancel option
NEXT:
- support different board layout
- north orientation
- hex orientation
- 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/
|