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.
Asked
Active
Viewed 729 times
-3
-
1what have you tried so far? did you copy the question text from this one: http://stackoverflow.com/questions/4667245/fetch-data-from-server-to-my-application-in-j2me? – gnat Dec 09 '11 at 16:14
-
no..its not similar to earlier question.but if you have any suggestion for us,please reply. – Dhanaashree Mahirrao Dec 10 '11 at 13:25
-
@DhanaashreePanPatil, in either case at least check the link provided by `gnat` it has refer material that might be helpful. – Vimal Dec 10 '11 at 16:36
-
@Vimal : Hey friend...its not at all imp for us. – Dhanaashree Mahirrao Dec 10 '11 at 16:53
1 Answers
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
- Using JavaScript Object Notation (JSON) in Java ME for Data Interchange
- RESTful Web Service Upload/Download Large Data With JSON
XML
SOAP
.
STORE DATA IN DEVICE
FileSystem
RecordStore
-
@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