This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Back-up and sync of a Recordstore

 
Delmiro Costa
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Delmiro Costa
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Delmiro Costa
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I get the idea, but do you have some eg code about it, about any of the 2 ways?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic