×

Discussion Board

Results 1 to 3 of 3

Thread: Unique id

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    2

    Unique id

    Hi

    I am developing a SMS based game and now i need to generate unique numbers for the game ids. The game allows to play several games at the same time and this games have to indentified unique.

    Now i need a number that is unique to the phone that the player uses. I will combine it with the time and then i have this unique number.

    And the question: How to get a unique number for the phone?

    Alex

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569
    The keyword is "IMEI" (International Mobile Equipment Identifier = the phone's serial number).

    Problem is: You can't get at it from MIDP Java (I think).

    Have each phone request a network/service generated unique ID for it to keep/store?

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    2
    Player 1 sends a sms to player 2. player 2 have to know wich game is meand. for this i have to use unique ids.

    i think i will just use the time as id...it should be unique enough

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×