Hi, I have just downloaded the Micro edition and installed it, the utilities that came with it a little to basic to be of interest. Maybe someone know if there is a way to make the java programs on the Palm hotsync with the desktop without to much hazzle. Something which might have been a useful test application would be a database on the palm syncronizing with the desktop (or several desktops). Any chance of just adding some JDBC drivers and do it more or less like on a desktop model (except JDBC connection is not always available). I'll be equally happy if someone could just point me in the right direction. Maybe it's in the book? (if so I guess I can get it in Norway...) On beforehand thanks, Thomas (wannabe Palm Java programmer
Mark Herschberg
Sheriff
Joined: Dec 04, 2000
Posts: 6035
posted
0
It's not somehting you can do easily. I think there are some companies trying to create products which do this. Check out SyncML, because htat would probably be the protocol they would be using for cradle syncs.
--Mark
Richard Taylor
Author
Ranch Hand
Joined: Jun 19, 2001
Posts: 45
posted
0
Right now, J2ME solutions tend to be quite distinct from any native device functionality, for two reasons: - security (I don't want rogue MIDLets monkeying about with my personal address book, reading it, and sending abusive emails to them all) - portability (anything Palm-specific could not be used on, say, an Accompli 008) So, the MIDlets sit in isolation currently on a Palm, and you cannot use HotSync. What can you do? 1. Be the first person to write a Java equivalent generic sync library, and make a mint. 2. Wait for someone else to come up with a sync solution. Good luck...
Richard Taylor <br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/1861003897/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional Java Mobile Programming</a>
Richard Taylor
Author
Ranch Hand
Joined: Jun 19, 2001
Posts: 45
posted
0
I forgot to say, the book does have a synchronisation chapter. Its good (and I didn't write it!) and demonstrates the problems with syncing, and gives you a source code solution, which can easily be extrapolated out to solve any general sync situation for a bespoke application.
chanoch wiggers
Author
Ranch Hand
Joined: May 24, 2001
Posts: 245
posted
0
syncml is particularly horrible and although it has been adopted by the j2me group it is a very complex way to achieve the job so I dont look forward to having to use it.
Originally posted by Mark Herschberg: It's not somehting you can do easily. I think there are some companies trying to create products which do this. Check out SyncML, because htat would probably be the protocol they would be using for cradle syncs.
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a>
sebastien GUERLET
Greenhorn
Joined: Jun 28, 2001
Posts: 13
posted
0
You can build a conduit to have access to the palm databases... try to find more about conduit at http://www.palm.com , you can also write conduit in java. Another solution is to communicate with a servlet via http and let it do the work of storing (in a real DB... not a palm one) and syncing.
Thomas Hansen
Greenhorn
Joined: Jul 30, 2000
Posts: 14
posted
0
Many thanks! Thank you all for useful input. I looked into SyncML earlier, but then it was in its early draft stages. I'll have the library send me a copy of the book also as it seems to have some interesting stuff. Have a nice weekend, Thomas
Clayton Fermino
Greenhorn
Joined: May 29, 2001
Posts: 3
posted
0
I herd something about a tool called JSync, for conduit development in Java. Looks like Coola is using it...
Eric Giguere
Ranch Hand
Joined: Oct 25, 2000
Posts: 170
posted
0
MIDP4Palm does not provide direct access to any Palm-specific APIs. Of course, a MIDP record store does map onto a Palm database, although the exact internal format used is unspecified. If you're feeling brave, though, you can indeed write a Palm conduit that can read those record stores and manipulate them. It will take experimentation on your part, though, and should probably only be done when you have a good understanding of Palm and conduit programming.
MIDP4Palm does not provide direct access to any Palm-specific APIs. Of course, a MIDP record store does map onto a Palm database, although the exact internal format used is unspecified. If you're feeling brave, though, you can indeed write a Palm conduit that can read those record stores and manipulate them. It will take experimentation on your part, though, and should probably only be done when you have a good understanding of Palm and conduit programming.
"sullis", Welcome to javaranch. PROPER NAMES ARE NOW REQUIRED Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name. Please adhere to official naming policy & help maintain the decorum of the forum. The naming policy can be found at http://www.javaranch.com/name.jsp --Mark
a glover
Greenhorn
Joined: Aug 14, 2001
Posts: 12
posted
0
if you want to "sync" with the host via a serial cable, see MochaSoft PPP. This program allows a palm to utilize the TCP/IP stack. http://www.mochasoft.dk/palm.html