*
The moose likes Java Micro Edition and the fly likes Synchronizing Palm and Desktop data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Synchronizing Palm and Desktop data" Watch "Synchronizing Palm and Desktop data" New topic
Author

Synchronizing Palm and Desktop data

M.K.A. Monster
Ranch Hand

Joined: May 02, 2002
Posts: 130
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

Joined: Mar 07, 2002
Posts: 1427
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.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
M.K.A. Monster
Ranch Hand

Joined: May 02, 2002
Posts: 130
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

Joined: Mar 07, 2002
Posts: 1427
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

Joined: May 02, 2002
Posts: 130
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Synchronizing Palm and Desktop data
 
Similar Threads
Problem with many-to-many relationships with MySQL
Please help fix my design!
Client/Server Socket Programming
passing parameters with LookupDispatchAction
parsing CDATA error