Hello folks,

Another interception question. :-)

I want, each time an application is beamed to the device, my application on 
that device to intercept this fact, to examine the application that is being 
beamed to the device and, depending on the result of the examination, to either 
accept the beamed application or to reject it. The short question is - how do I 
do that? :-)

I understand that I can register to receive databases with particular 
extensions or of particular MIME types by using ExgRegisterData. But what 
extension or type should I specify, in order to receive the beamed 
applications? "prc"?

And what then? Apparently, I can replace the standard acceptance dialog by 
having my own code respond to the sysAppLaunchCmdExgAskUser command. Is, at 
this point, the beamed application availabe for inspection? Does it already 
reside physically on the device and can I access its contents through the 
contents of the ExgAskParamType structure? And, if I decide to accept it, do I 
need to do anything special (e.g., pass it a sysAppLaunchCmdSyncNotify launch 
code or something) - or should I just return exgAskOk and let the OS do the 
rest?

Or do I have to do something more convoluted, like responding to any of the 
sysAppLaunchCmdExgReceiveData and sysAppLaunchCmdExgPreview launch codes?

Regards,
Vesselin
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to