×

Discussion Board

Results 1 to 7 of 7

Threaded View

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    13

    How to set username and passwd in jar?

    Hi guys,

    i'm building a j2me game that will allow users to play over the internet. For this each user will receive at registration a username and a password (this is before they get the jar via http). I'm thinking if there is any method that i could include each username and password in the jar that will be downloaded by the user?

    My first solution would be to keep the classes uncompiled, after i have the username and password replace the default string for username and passwd in one of the classes, compile, obfuscate, create jar and send to client. This seems to me very complicated, but this is my first solution... does any of you have a better ideea ?

    Can i set these with some JAD attributes?

    Thanks a lot,
    Mircea
    Last edited by mircearechi; 2007-01-31 at 15:23.

Posting Permissions

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