Hi,
I am trying to add my application name to the (Prefs->Default apps->Email) on
TREO-600.
My Code snippet is as follows:
// Set default apps as MyApplication for Email option
{
UInt16 DefaultHelpersLibRefNum;
err = SysLibFind(defaultHelperLibName,&DefaultHelpersLibRefNum);
if (err)
err = SysLibLoad
(defaultHelperLibType,defaultHelperLibCreator,&DefaultHelpersLibRefNum);
err =
DefaultHelperLibSetDefaultHelper(DefaultHelpersLibRefNum,kHelperServiceClassIDEMail,thisAppID);
if (err)
FrmCustomAlert(ErrErrAlert,"Unable to set default",NULL,NULL);
else
FrmCustomAlert(ErrErrAlert,"Default is set now",NULL,NULL);
}
When I run my application on TREO-600 simulator I get an alert "Default is set
now". But, I can't see my application name to the default app's list.
I can't find any help from Google as well as from this forum.
Am I missing something.
Pls guide me.
Thanks in advance.
Regards.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/