IMSIPesudo.java: simple LU counter
This commit is contained in:
parent
e28705aff5
commit
041b0e0af1
|
@ -16,8 +16,7 @@ public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConst
|
||||||
// which has a limited number of write cycles.
|
// which has a limited number of write cycles.
|
||||||
private byte helloMenuItem;
|
private byte helloMenuItem;
|
||||||
|
|
||||||
static byte[] welcomeMsg = new byte[] { 'H', 'e', 'l', 'l', 'o', ',', ' ',
|
static byte[] welcomeMsg = new byte[] { '0', 'x', ' ', 'L', 'U' };
|
||||||
'W', 'o', 'r', 'l', 'd', '!' };
|
|
||||||
static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
|
static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
|
||||||
'i', 'z', 'a', 't', 'i', 'o', 'n'};
|
'i', 'z', 'a', 't', 'i', 'o', 'n'};
|
||||||
|
|
||||||
|
@ -61,9 +60,7 @@ public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConst
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event == EVENT_EVENT_DOWNLOAD_LOCATION_STATUS) {
|
if (event == EVENT_EVENT_DOWNLOAD_LOCATION_STATUS) {
|
||||||
/* TODO: count the location updates done with the same
|
welcomeMsg[0]++;
|
||||||
* pseudo IMSI, and warn the user if it becomes too
|
|
||||||
* high */
|
|
||||||
showHello();
|
showHello();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue