Hi all ,
i am working on Palm OS 4.1 ...
i want , instead of Palm inbuilt SMS application , my
application should receive SMS ...
this is the code ....
error = ExgRegisterDatatype ( appFileCreator,
exgRegExtensionID,kSmsMessageRegExtensionType"\t"kSmsReportRegExtensionType,
NULL , 0 );
if (error != 0)
{
FrmCustomAlert (1000 , "Register failed" , NULL ,
NULL ) ;
}
error = ExgSetDefaultApplication ( appFileCreator,
exgRegExtensionID,kSmsMessageRegExtensionType"\t"kSmsReportRegExtensionType
);
if (error != 0 && error == exgErrNoKnownTarget)
{
//SysReset () ;
}
in above code , it is able to register the datatype
...
but when i say ExgSetDefaultApplication ,its returning
error as exgErrNoKnownTarget ...
why it is so ???
the above code i called while
sysAppLaunchCmdSyncNotify...
whats wrong with this ???
can anybody help me ???
regards ,
Geeta M
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/