-3

I want to fetch data from server side to my application which is in j2me. The data fetch from server is username and mobile no. which is already stored in server. In our project we have implemented the functionality of add, delete, view the contacts which are present on server. So now we have to implement the "Save" function so that all that server data (user name and mobile nos.) will get stored and displayed on that mobile emulator. Do I need to use XML parsing for this? If yes then how can I use it? If no then what should I use? Help me with code examples.

gnat
  • 6,213
  • 108
  • 53
  • 73

1 Answers1

1

The steps would be to fetch the data from server using one of the webservices methodology and store it in the device. Each step below has the reference links

FETCH DATA FROM SERVER

My Answer To Other Post

Designing a mobile web server and client for traffic compression

JSON

  1. Using JavaScript Object Notation (JSON) in Java ME for Data Interchange
  2. RESTful Web Service Upload/Download Large Data With JSON

XML

  1. Add XML parsing to your J2ME applications
  2. Parsing XML in J2ME

SOAP

  1. Determining methods available in a web service by examining the WSDL file

.

STORE DATA IN DEVICE

FileSystem

  1. Getting Started with the FileConnection APIs

RecordStore

  1. save data from servlet to recordstore in j2me
Community
  • 1
  • 1
Vimal
  • 1,266
  • 1
  • 9
  • 16
  • @DhanaashreePanPatil Were you able to resolve your problem? If so mark and [accept the answer](http://stackoverflow.com/faq#howtoask) that helped you. – Vimal Dec 16 '11 at 05:22