The Launcher's sources aren't available.  Besides, they're incredibly
complex and it doesn't sound like you really need them anyway.

Just do a loop with DmGetDatabase, calling DmDatabaseInfo and possibly
DmDatabaseSize for each one.  Displaying the information in a nice UI is
completely open-ended... do whatever you want.

You would hopefully be able to do the loading of the database information
in the "background" because calling DmDatabaseSize isn't a particularly
fast function... it has to calculate the size by looking at each record or
resource in the database.

By "background" I mean do the first screen's worth of entries, then yield
till you get a nilEvent or two so you know the user isn't trying to do
anything, then get the next page, etc.  The only complicated bit is letting
the user scroll freely even before the whole list was fetched, and knowing
when to just do the rest of the fetching and make them wait.  But that's a
standard programming technique, not specific to Palm OS development at all.

-David Fedor
Palm Developer Support



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