At 12:24 PM -0400 2001/06/20, Yu, Ken [IT] wrote:
>Is there any possible way of programmatically determining the model of a
>Palm OS device?
>(ie Palm II,V,Vx, VII, Handsping, Sony etc ...)
Yes, but the approach depends entirely on what version of the Palm OS the device is
running.
A complete explanation of how to do this for the entire history of all Palm and
Licensee devices requires a fairly substantial chunk of sample source code, as the
mechanisms to detect the device ID has evolved over time. However, beginning with Palm
OS 3.5, we've standardized on three system features which you can retrieve to obtain
this info. Please refer to sysFtrNumOEMDeviceID, sysFtrNumOEMHALID, and
sysFtrNumOEMCompanyID in SystemMgr.h for details.
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/