Check out the following:

        UInt32 companyID,deviceID,HALID;
        FtrGet(sysFtrCreator,sysFtrNumOEMCompanyID,&companyID);
        FtrGet(sysFtrCreator,sysFtrNumOEMDeviceID,&deviceID);
        FtrGet(sysFtrCreator,sysFtrNumOEMHALID,&HALID);

The values returned define the platform. For example:

Tungsten T3 returns:
        'Palm', 'Arz1', 'aAz1'
Tungsten T5 returns:
        'Palm', 'TnT5', 'aTT5'

Google for other values. Also on PalmOne and PalmSource sites. I can send a
fairly complete list, as well.

--------------------
Jeff Loucks
Work 425-284-1128 [EMAIL PROTECTED]
Home 253-851-8908 [EMAIL PROTECTED]
Mobile 253-691-8812


-----Original Message-----
From: Yuen Kwee [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 11:16 PM
To: Palm Developer Forum
Subject: detecting device models


hihi!

is there any method to know what model of the device is? for example, how do
i detect a clie, treo, t3 and t5. i want to run special functions for each
of them. if there is a method to detect, please provide some info on it...
thanks!

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

Reply via email to