There were some discussion on this.  The common way is to set an alarm upon
getting the SyncNotify launch code. Maybe it makes sense for the application
that is only installed by beam, never by hotsync.  My app "self-destructing
message" is one example.

I don't see a way from the application's point of view that it can tell the
difference of being beamed or being installed.  It might be possible to detect
if the current UI app is the hotsync and then do things differently based on
that.

Max
--- "Mark A. Peters" <[EMAIL PROTECTED]> wrote:
> I wrote code to beam an application, and figured that simply setting the
> goToCreator field to the app's creator ID in the Exchange Manager socket for
> the beam would make this happen.  I was wrong though - the application was
> never sent the goto launch code.
> 
> I have seen applications that do launch upon being beamed, so it must be
> possible to do this.  The only method I have gotten to work is to put a
> SysUIAppLaunch call in the code to handle the SyncNotify launch code, but
> this is a bad idea, because that launch code is also sent for HotSync's, and
> doing alot stuff at that time is unfriendly to other apps that may be
> involved in the HotSync.
> 
> Is there another way to accomplish this?  Is there perhaps something else
> required to get the goto method to work?
> 
> Thanks,
> 
> Mark Peters



=====
http://www.weirdwww.com/

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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

Reply via email to