I want to let the user select the (scientific) calculator he prefers to call 
from within my program. I thus want to offer a popup trigger exactly like those 
in the built-in Prefs program where you select the program to assing to 
hardware buttons.

Using SysCreateDataBaseList, I can create a list of all 'appl' DBs on the 
device. How should I store the user selection? The creator ID or the name? I 
understand that if I store the name, I can later call DmFindDatabase to find 
the LocalID and launch it, but what if there were more than one Db with that 
name? Would storing the LocalID better? Or would it change if there were a hard 
reset on the device? How does PalmOS store the apps button assignments in its 
prefs program?


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

Reply via email to