I'm writing an application for mobile phones on Java. It's goal is to send and receive Vector objects to and from the server. But here I've got a problem: there's no ObjectOutputStream
supported at J2ME.So I have to convert my Vector
to byte
array or do something of that kind.
I've been thinking about converting the Vector
to string
, transmitting it over the network and rebuilding the original vector back from the string, but it hardly seems to work in appropriate forms.
Also, I've looked at some frameworks, like J2ME Polish, but unfortunately I failed to find the jar-files with API in the installation folder.
So, any ideas?