Click here to get back home

distinguish PDAs from Smartphones and pocket pc programmatically?

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
distinguish PDAs from Smartphones and pocket pc programmatically? surlakew 09-18-2007
Get Chitika Premium
Posted by surlakew on September 18, 2007, 12:20 pm
Please log in for more thread options
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.

Any thoughts?

Thanks,
Surafel


Posted by Scott Seligman on September 18, 2007, 12:30 pm
Please log in for more thread options
surlakew@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

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..


Posted by Scott Seligman on September 18, 2007, 2:45 pm
Please log in for more thread options
>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'.

Yep, they're both PocketPC platforms.

>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..

I guess you could look for \windows\phone.dll to see if a PocketPC
device has the phone functions.

Of course, this won't tell you how much it's going to cost the user to
make an internet connection.

--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
He had to get up to run some more. He told his muscles to do so. They
told him they had the night off.
-- Deadly Relations: Bester Ascendant by J. Gregory Keyes

Posted by Gernot Frisch on September 19, 2007, 6:17 am
Please log in for more thread options

> ...and makes a scheduled connection
> attempt to a server.

If you won't allow me to specify if/when/where to connect, I won't
even get close to your program.




Similar ThreadsPosted
PDAs and Smartphones October 6, 2008, 4:39 am
programmatically open New Acc Setup of Pocket Outlook February 20, 2006, 7:02 am
How to open a Pocket Outlook item from Pocket IE February 13, 2008, 2:10 pm
Programmatically set NumLock March 19, 2007, 5:47 pm
Is there a way to programmatically set the profile? February 1, 2008, 7:12 pm
How to start MS Activesync programmatically? November 22, 2005, 10:56 am
"Compose" email programmatically? February 6, 2006, 2:20 pm
Sending email programmatically May 11, 2006, 9:01 am
Determining Carrier Programmatically October 16, 2006, 4:47 pm
How to access the inbox programmatically? December 22, 2006, 9:27 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap