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:

  1. WristPDA button handling made easy
  2. The WristPDA SDK – download it here
  3. Detecting vibrators and alarm leds programmatically
  4. Determining if your app runs on a Zodiac
  5. Quo vadis, WristPDA

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

© 2013 TamsPalm - the Palm OS / web OS Blog Suffusion theme by Sayontan Sinha