VHackAndroid / BeTfsp

GNU General Public License v2.0
3 stars 11 forks source link

Use same client name / money for reconnecting clients #12

Closed Botje closed 11 years ago

Botje commented 12 years ago

Generate a unique ID per client and pass / store that.

Zillode commented 11 years ago

http://android-developers.blogspot.be/2011/03/identifying-app-installations.html -> use UUID.randomUUID().toString(); and store in settings. Settings is already implemented for other persistent stuff (e.g. nicknames).

Zillode commented 11 years ago

Is not that trivial since there is no welcome message from the client side (and the server already generated a unique client id).

Zillode commented 11 years ago

Added 'reconnectIdentification' but unsure where to set the welcome msg (should be resent if disconnected). Note: SetIDMessage already exists, might be related?

Botje commented 11 years ago

Fixed in preferences branch