If I use CDC then will it be able to support object serialization. and Secondly, if I use SE T 610 then how will be to get data from server through XML ?.
1. I think CDC supports serialization. But you need to check the doc.
2. Use an XML parser (e.g., kXML) to reconstruct XML structure into Java objects.
Joined: Mar 07, 2002
Originally posted by Roseanne Zhang:
To SE T 610, I used a trick, before the jar is downloaded, I wrote a txt file into the jar according to the client information. Not a good solution, who has a better solution, I'd like to hear it!!!
[ May 14, 2004: Message edited by: Roseanne Zhang ]
If you just need to tell the MIDlet about its host environment, you can just add custom attributes to the jad file. Then, in the provisoning server, you can redirect clients to different jad files based on the device info embedded in their HTTP header.