Pritam,

>               I am having problem in fetching the PalmId for
>the Palm device,this ID is always unique for every
>handheld.

No it isn't.  LOTS of devices do not have a ROM serial number -- or ANY other
unique identifier.  This is especially true of lower end devices such as the
Tungsten E, or Zire 21/31, or many others.  (The device may or may not have a
Hot Sync name assigned, but this isn't truly unique.  And more and more devices
are never Hot Synced at all, and thus never have this name either.)

The code to get the serial number should not throw a fatal error, but you do
need to make sure if returns a valid number.  In particular, some devices may
return a 0xFF in the first byte, which is another indication no serial number
exists.

Search the archives on SysGetROMToken as there are lots of discussions on the
serial number, or lack thereof.

Doug

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

Reply via email to