|
Posted by Sura on September 18, 2007, 2:04 pm
Please log in for more thread options > surla...@gmail.com wrote:
>
> >Is there a way to distinguish PDAs from Smartphones and pocket pc
> >programmatically? I am writing an application which will be run on pdas
> >,smartphone and pocket pc and makes a scheduled connection attempt to a
> >server. Since pdas are not always connected to the internet i wanted to
> >disable that feature if the device is a PDA.
>
> Some PocketPCs are always connected to the internet, some aren't. And
> those devices, Smartphones included, that are always connected may
> have users that get very upset at you if you start using internet
> connectivity continuously.
>
> It's generally best to make this sort of thing as a user option.
>
> If you really want to know the platform, call SystemParametersInfo
> with SPI_GETPLATFORMTYPE.
>
> --
> --------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
> The most exciting phrase to hear in science, the one that heralds new
> discoveries, is not 'Eureka!' but 'That's funny...'
> -- Isaac Asimov
Thanks for the prompty reply. Let me rephrase my question i want to
disntinguish between PDAs(like HP IPAQ) and other Pocket PC
devices(palm treo,HTC 6700 etc..).
The SystemParametersInfo considers the platform of both as
'PocketPC'.
One subtle difference between the two is that PDAs don't have a phone
dialer , so may be there's some kind of registry entry or something
that i can read and tell if the device is not a PDA. But that's just a
thought..
|