Scott Erickson wrote:
Is there a simple way to test if the device running an app is Handspring?
Like so?...
Boolean IsHS(void){
UInt32 value;
if (!FtrGet (hsFtrCreator, hsFtrIDVersion, &value))
return true;
return false;
}
...and for the next question, perhaps...
Boolean IsTreo600(void)
{
UInt32 company = NULL
UInt32 deviceID = NULL;
FtrGet (sysFtrCreator, sysFtrNumOEMCompanyID, &company);
FtrGet (sysFtrCreator, sysFtrNumOEMDeviceID, &deviceID);
if (company == hwrOEMCompanyIDHandspring){
if (deviceID == hsDeviceIDOs5Device1 || deviceID ==
hsDeviceIDOs5Device1Sim)
return true;
}
return false;
}
Bob
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/