• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Synchornization Question

 
Abed Rabie
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Is synchronization is allawed here in J2ME. I mean to synchronize data from your mobile application to your pc.

Aabed
 
Sam Hendley
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the phone. Nokia is pretty good, I think so is ericsson but beyond that you need to check the manufactures website.
 
David Price
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Phones like Nokia's come with software for synchronizing the address book, calendar, etc. between the phone and the PC, using e.g. USB cable, infra-red or Bluetooth. But this has nothing to do with J2ME: the synchronization is a native application, not a J2ME application, and J2ME applications' own data (i.e. data in the phone's MIDlets' RMS record stores) is not synchronized with the PC, since the native synchronization application doesn't know which PC application to synchronize with the MIDlet.

If you want to implement synchronization in your MIDlet, probably the best choice would be using the JSR-82 Bluetooth API, if your target phone supports that (see this thread about Bluetooth for some useful information). Alternatively some phones allow MIDlets to access the serial port or infra-red, though not many (no Nokia models) and often using a non-standard approach, since this was only standardized in MIDP 2.0 (and even there it's optional) - see interface javax.microedition.io.CommConnection.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually there are ways for you to develop synchronizing your data in a RecordStore to data on you PC. Although, because of the limited resources of you mobile device, RecordStores are not usually used to this extent.

There is a database, I think it is PointBase, that has a small database to place on mobile devices, and a "Synchornization" product that will synch your data, and this works with Oracle and other RDBMS on the back end.

I thought it was pretty cool.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic