How are you going to be a background driver, and have you tested it? If your
application code is sub-launched by another application, I believe
SysCurAppDatabase returns the details of the other application, not yours.

Matt


----- Original Message -----
From: "Tim Niu" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 2:58 AM
Subject: Re: How can I get other AP's database ID ?


> Thanks, Amit.
> But I want to use my program as a background driver, and what I want to
know
> is database ID of current AP that is active. That is my program could get
> any AP's dbID when it is turned active.
> Do you have any further suggestions ?
> Many thanks !
>
> Best Regards,
> Tim Niu
>
> ----- Original Message -----
> From: "Amit Solanki" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Friday, December 20, 2002 9:21 PM
> Subject: RE: How can I get other AP's database ID ?
>
>
> > You can use SysCreateDataBaseList function with Palm OS 5 to get list of
> all
> > application on your device.
> >
> > Regards,
> > Amit Solanki
> >
> > -----Original Message-----
> > From: Tim Niu [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, December 20, 2002 1:33 PM
> > To: Palm Developer Forum
> > Subject: How can I get other AP's database ID ?
> >
> > Dear All,
> >     In my program, I want to get other AP's database ID. But using
> > SysCurAppDatabase, I can only get my own program's dbID. Using trap I
can
> do
> > it. But now, under OS5, trap is no longer supported.
> >     Can anybody tell me what should I do under OS5 ?
> >     Thanks a lot.
> >
> > Best Regards,
> > Tim Niu
> >
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/support/forums/
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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

Reply via email to