Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes Back-up and sync of a Recordstore  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Back-up and sync of a Recordstore  " Watch "Back-up and sync of a Recordstore  " New topic
Author

Back-up and sync of a Recordstore

Delmiro Costa
Greenhorn

Joined: Jul 24, 2005
Posts: 8
Hello, all.
I have a Midlet running on a cellphone using RMS (the cellphone is a motorola V180) and I need to solve two problems:
1. How can I take a back-up of the information entered in the MIDP running on the cellphone ?
2. There is way of transfer (using USB for eg) that info to my desktop in a legible format, using J2ME?

Thanks to all in advance.
Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Hi,
I think what you can do is, write a MIDlet which reads the data from the RecordStore and write it to a file in the computer or to an HTML page using the javax.microedition.io package classes. Hope this is a good tip. Regards..


SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Delmiro Costa
Greenhorn

Joined: Jul 24, 2005
Posts: 8
Ok, suppose that I write that midlet, but I have the other problem of how to transfer that file to my PC ? Do you have any example of how to do this from my Midlet ?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Well, I wouldn't say that the file is created on the Cell Phone. Basically, you would take the Text into a String and pass it to a Servlet, or through a Socket Connection.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Delmiro Costa
Greenhorn

Joined: Jul 24, 2005
Posts: 8
Ok, I get the idea, but do you have some eg code about it, about any of the 2 ways?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Back-up and sync of a Recordstore
 
Similar Threads
Need to clear my knowledge regarding OTA
Spaces in http connection
httpConnection limted?
Accessing device info eg cell number
Jonh Carmack - problems he had with J2ME