GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes Its about uniqueIDs again! This is starting to get to me. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Its about uniqueIDs again! This is starting to get to me." Watch "Its about uniqueIDs again! This is starting to get to me." New topic
Author

Its about uniqueIDs again! This is starting to get to me.

Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
Ok I created a game. When a user goes to the wap site to download the game I have created a servlet that generates a uniqueID and then creates a java file with the uniqueID in it..
public final class GameProperties {
public final static long userID = " + userID + "L;\n" +
"\tpublic final static int gameID = " + gameID + ";\n" +
"\n\tpublic long getUserID(){\n" +
"\t\treturn userID;\n" +
"}" +
"}";


"its bad luck to be superstitious....."
 
GeeCON Prague 2014
 
subject: Its about uniqueIDs again! This is starting to get to me.