The Fossil WristPDA SDK advices developers to use a FossilIsWristPDADevice call to determine if the device that their application currently runs on is a WristPDA. I tried this, and it didnt work – at all! Both Palm Tungsten T3 and Simulator died producing an error mesage saying (Sys 0505) (0,1092).
Anyways, I can propose you a better solution:
Boolean isWpda()
{
UInt32 foo;
if(WPdaGetVersion(&foo)==errNone)
{
return true;
}
return false;
}
This function works perfectly well on every machine I could get my hands on. So, use that instead of FossilIsWristPDADevice from now on!
Related posts: