I wrote earlier : > I'm currently implementing record beaming into my application. So far, > just declaring an ExgSocketType, setting it to all 0's and only > initializing its name and description fields (as done in my O'Reilly > Palm OS Programming book) results into ExgPut hanging with a Beam dialog > saying "Preparing: description" (and nothing on the receiving device). > This Beam dialog has a Cancel button, but it doesn't do anything. I can > hit the Home silkscreen button to leave my application, but I noticed I > then have to do a soft reset to be able to perform a Hotsync again. > Before doing this soft reset, using FileZ to beam anything else to the > target device seems to "push" my previous beam put request and I then > get the Beam Accept dialog on the target device. I tried filling more of > the socket structure (target and appData), the result is the same.
No solution for that yet :( > My application shall (upon user choice) beam a single record, a > collection of them or the whole database. As duplicate records don't > make sense in my context, I cannot just add the beamed record to the > target DB, but I must perform a merge of the beamed data with the target > DB (if it already exists on the target device, otherwise, things are > simple). Eventually, this may require user acknowledgement of some sort > (when similar records are not identical). Can I use FrmAlert calls while > processing the beamed data? Or a Progress dialog to indicate some > overwrites are performed? Does my application need to be the running > application on the target device to issue such calls? I may find out when I get to receive beamed data... > Is the ExgDBWrite API viable if only a subset of the DB is actually > sent? Can the name of the beamed DB be changed to a generic name (e.g.. > Beamed_data) in the sending process so that the receiving device can > simultaneously open both beamed DB and the target DB to merge one into > the other? Further readings say no: ExgDBWrite would beam the whole DB, not just a subset. > Lastly, if I want my application to be able to receive beamed data > before it is first ran, the API docs says I have to register for that > data calling ExgRegisterData. But what must I use as id and dataTypesP > if I just want to receive any (record) data sent with my creatorID as > the target? Again further readings say no, as I beam proprietary data no other application is requestion, so just passing the target info in the socket is sufficient, without prior registration. > I know I'm asking lots here, but rest assured I first read everything I > could find on the topic before posting here. It looks I could find more material to read. -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
