Hello folks.
A Windows machine beams HelloWorld.PRC, using IrOBEX, to a HARD-RESET Palm
m125. It is imperative that NO user input happens on the Palm, as
HellowWorld.PRC is received into Launcher, and then is auto-launched.
How do I do this?
For the auto-launching, I know I can leverage the ExgSocketType.goToCreator
field, and put HelloWorld.PRC's creatorID in it. Then, I can put a block
of code in HelloWorld.PRC that does a normal launch upon receiving the
sysAppLaunchCmdGoto sent by the ExgMgr upon successful transmission. One
question I have is this -- the sending device is a Windows desktop. Is it
normal for a Windows IrOBEX implementation to provide a similar structure
to the ExgSocketType, wherein I may set the goToCreator (and noGoTo) fields
so that they will be intact and presented to the Palm's ExgMgr on the
receiving end? Perhaps a 'vendor-specific param block' or somesuch? Or
are the parameters exposed in ExgSocketType only set-able from another Palm
device when talking over IrOBEX / ExgMgr?
For preventing any kind of user input, I need to respond to the
sysAppLaunchCmdExgAskUser with an 'exgAskOk' status field, but this is a
catch-22, since I have no 'client' app running on the Palm which can
register for incoming .PRCs and perform this duty. Remember, the Palm
which receives this transmission has been hard-reset. Is there any way
around this? My only hope is this quote from The PalmOS Programmer's
Companion, volume II: "In PalmOS 4.0 ... ExgMgr allows the Exg Lib to turn
off the user confirmation dialog." Not sure how this is done, however.
Any help is appreciated. Thanks very much for your time!
-Jeff Ishaq
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
