×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    15

    Question How to send data in xml format through j2me application

    I need to send xml data to server through my j2me application.
    I have my data as String object. But I want to map the strings as value of nodes in xml format and then send the xml to the server.

    How is it possible to convert my data in xml format.
    Are there any APIs available.

    Any links about these would also be helpful.


    Thanks.

  2. #2
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: How to send data in xml format through j2me application

    Hi galaxy_j2me,
    The simple way is to use string buffer and append your tags and data to into it and send that data to the server. At the server end get the data and write it and .xml file . Or you can use the KXML parser to write the XML files

  3. #3
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    387

    Re: How to send data in xml format through j2me application

    hi,
    Quote Originally Posted by bhanuchandar.k View Post
    Hi galaxy_j2me,
    The simple way is to use string buffer and append your tags and data to into it and send that data to the server. At the server end get the data and write it and .xml file . Or you can use the KXML parser to write the XML files
    and yes you need to also ask dotnet/j2ee guys to design a server which can retrieve your tags at server side.
    Thanks and Regards,
    Manjul.

  4. #4
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    387

    Re: How to send data in xml format through j2me application

    hi,
    Quote Originally Posted by bhanuchandar.k View Post
    Hi galaxy_j2me,
    The simple way is to use string buffer and append your tags and data to into it and send that data to the server. At the server end get the data and write it and .xml file . Or you can use the KXML parser to write the XML files
    and yes you need to also ask dotnet/j2ee guys to design a server which can retrieve your tags at server side.

    or you may use HttpServlet to send your data.
    Thanks and Regards,
    Manjul.

Similar Threads

  1. develop a application send image from mobile to PC in J2ME via bluetooth
    By livepeterpan in forum Bluetooth Technology
    Replies: 1
    Last Post: 2009-08-15, 17:26
  2. J2ME Application Lead Developer - Montreal
    By mobileapps.hr in forum News, Announcements and Job Listings
    Replies: 0
    Last Post: 2008-10-03, 12:54
  3. how to send private message in J2ME application?
    By nurul_84 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-03-05, 15:27
  4. J2ME MMS vs Native MMS application
    By alliance205 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-12-19, 03:30

Posting Permissions

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