Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Sep 2010

    Question Object Deserialization

    I am having a hard time doing this and i only have this whole month to handle this problem..

    I have this SMS message sent in a specific port (5000). The message contains characters that came from a serialized object. A J2ME program is about to receive it and once it received the message, it will automatically deserialize it for the user to see the full view of the object. The user could change some things on the full view and once the user save the changes, the J2ME program will automatically serialize the object, convert it again into SMS message, then send the message to the number that sent the primary message.

    my question was, is this possible? in CLDC?

    I had researched and tested a running code that is able to send/receive SMS, and another code that serialize/deserialize a java object.

    please help me

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    USA, CA

    Re: Object Deserialization

    Yes, although you have to implement serilaization and desericalization yourself as Java ME does not offer that. This oldish blog post might give you some hints


  3. #3
    Regular Contributor
    Join Date
    Sep 2010

    Re: Object Deserialization

    thank you for the immediate reply
    and thank you for a positive response

    i researched and found a code, made out of j2me that uses this ByteArrayOutputStream/DataOutputStream to serialze and ByteArrayInputStream/DataInputStream to deserialize what has been serialized by the serializer. I wanted to modify it but i cant :P

Similar Threads

  1. Problem with changing frame when object collides an object..
    By miksu174 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 8
    Last Post: 2010-11-05, 15:51
  2. How do I access document object from view object?
    By jbohmtiny in forum Symbian User Interface
    Replies: 4
    Last Post: 2009-10-29, 17:33
  3. Phone won't send object on OBEX object exchange example...
    By dcg_sorenson in forum Bluetooth Technology
    Replies: 2
    Last Post: 2009-04-30, 16:55
  4. DeSerialization of dataObject in J2me
    By venkatt_shankar in forum Mobile Java General
    Replies: 6
    Last Post: 2007-01-17, 21:56

Posting Permissions

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