• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Back-up and sync of a Recordstore

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic