Inching Forward
Well I had a little bit of success last night. I managed to transfer the first part of the map from one handset to another. The playing pieces are packaged up to an XML string, which is turned into a ByteArray for L2CAP transfer. This is then passed over to the other phone in 128 byte packages (because the 6600 has problems with greater values).
The other phone then builds up its own ByteArray and then converts it back to an XML String for parsing. Up to this point works fine. I’ve had to custom code a parser for the XML in question because I can’t afford the licence for proper j2me parsers (and I don’t know how this would affect the size).
It’s just a case of stepping through the code and correcting the mistakes. I think I’ve got the Algorithm mostly there. I’m still on course for actually having the emulators play a game against each other by the end of the month but there still is a lot of work left to do.
There are still a few things to add to the todo list;-
- Make the Bluetooth Forum screen a little bit more user friendly. At the moment it’s just a blank list and that needs instructions.
- Make sure when players put in a user name, they can’t put spaces in. This is vital for the Bluetooth Search Functionality.
- Always stop users from entering a username of user1, userone, user_1, user_one & their capital equivalent because this is going to be used for marketing purposes later.
Here's hoping I can keep this level of support up.


0 Comments:
Post a Comment
<< Home