Hi Danny,

Thank you very much for your reply.  This is what I was looking for.  Thank
you for ur reply.
Sorry if I was not clear in my prev. query on this subject.
Regards,
Yuva

> I want to display a list of Unprotected Applications/Databases for the
users
> to select one and delete them(Something like which is displayed in default
> launcher - DELETE option).

Thanks for explaining what you're trying to do. That should clear up some
confusion...

As I wrote in these recent posts:

  http://www.escribe.com/computing/pcpqa/m54798.html

  http://www.escribe.com/computing/pcpqa/m54885.html


"There's no way to check if a database is _protected_..." [emphasis added].

The Launcher's Delete dialog doesn't show lock icons on any databases. If
only lists databases in RAM (not ROM). If you try to delete a _protected_
database, an alert indicates that the database couldn't be deleted.

I'm guessing you're thinking of the Launchers Beam dialog. This shows apps
in ROM as well as RAM. It shows lock icons on apps in ROM, and apps in RAM
that are _copy-protected_. To find out if a database is _copy-protected_,
use DmDatabaseInfo to get the database attributes and then check the
dmHdrAttrCopyPrevention bit. To check if a database is in ROM, use
MemLocalIDKind, passing it the LocalID of the database. It'll return
memIDHandle for databases in RAM or memIDPtr for databases in ROM.

The terminology can be confusing.
-
Danny




-- 
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