• 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

Synchronizing Palm and Desktop data

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic