Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Synchronizing Palm and Desktop data

 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I'm currently developing an application for a PalmOS Handheld, on wich you can search an article database (this database is available on the desktop computer), and place orders (this database is available on the handheld).
The meaning is that I can synchronize the desktop database to the handheld. (this is only a one way data stream, desktop->palmtop) I know I have to use conduits to do this. But I don't know how doncuits work, and if can use Java to build a conduit.
I also need to synchronize the handheld database (wich contains the orders). This is also a one way datastream, handheld->desktop. After the synchronisation I need to check if the data has been sent correct, and then I have to empty the order database on the handheld.
Excuse me for my bad english, but I'm dutch.
Yours,
Mark Monster
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not think the current MIDP allows you to build conduit. The "recordstores" are implemented as Palm databases but they are largely inaccessible outside the MIDP application.
In the future, however, you should be able to use SyncML to synchronize data between Palm and desktop using a Java interface.
Right now, I think, you have to emulate a network connection over the serial line and use plain old HTTP to communicate data between the desktop and Palm MIDP.
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Yuan:
I do not think the current MIDP allows you to build conduit.

It's not realy I want to build a conduit using MIDP, I want to build it in Java2SE, but the problem is it's kind of a topic which suits to be in the Java2ME topics.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by M.K.A. Monster:

It's not realy I want to build a conduit using MIDP, I want to build it in Java2SE, but the problem is it's kind of a topic which suits to be in the Java2ME topics.

If you want to build a conduit using any tool (J2SE/C++ or anything), you need the MIDP application to provide a programable interface to its record stores. But MIDP does not provide such interface due to security concerns. So, basically, I do not think there is a way to build any conduit in a portable way for your MIDP applications.
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Yuan:

...you need the MIDP application to provide a programable interface to its record stores. But MIDP does not provide such interface due to security concerns.

Can you please explain me what the RMS classe do? Don't they provide an interface to the Record Store?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic