You can mark your app of 'appl' type in CodeWarrior. This way, it will
get notified when it's installed on the device. You can do your
initialization and then call DmSetDatabaseInfo() to change the app's
type back to 'tdpi'
- Ioi
David Leland wrote:
>
> Thanks for the reply. The more I was thinking about this the more I was
> pretty sure that was the case. Unfortunately, I can't change the type to
> "appl" since the application that mine is a "plug-in" to requires "tdpi". I
> think I'm out of luck here.
>
> Dave
>
> John Marshall <[EMAIL PROTECTED]> wrote in message
> news:43594@palm-dev-forum...
> >
> > David Leland <[EMAIL PROTECTED]> wrote:
> > > My application doesn't have any databases. But I was under the
> impression
> > > that the application itself was a database and would receive
> notification
> > > whenever it was HotSynced. The only thing I can think of is that my
> > > application type is "tdpi" instead of "appl".
> >
> > Uh huh. The documentation says
> >
> > [sysAppLaunchCmdSyncNotify] is sent to applications to inform
> > them that a HotSync has occurred.
> >
> > An "application" is of course a database of type 'appl'. So how do you
> > suppose the OS should realise that this week a 'tdpi' is wanted to be
> > like an application but 'data' isn't?
> >
> > So if you want a sysAppLaunchCmdSyncNotify, you'll have to arrange things
> > so that there is an actual application (type = 'appl') somewhere with the
> > same creator ID as your plugin.
> >
> > > It is a "plug-in" to another
> > > application and must not show up in the applications menu.
> >
> > What OS are you targeting? You might want to look at dmHdrAttrHidden.
> >
> > John "BTW, 'tdpi' is in Palm's reserved namespace :-)"
> >
> >
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/