Click here to get back home

Device Phone Number

 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
Device Phone Number AB 01-30-2007
`--> Re: Device Phone Number Peter Foot [MVP...01-30-2007
Get Chitika Premium
Posted by AB on January 30, 2007, 6:15 am
Please log in for more thread options
Hello All,

I want to find out my WM2003/5.0 device's phone number (SIM or
otherwise). I poked around a bit on the net and found this link.

http://blogs.msdn.com/windowsmobile/archive/2004/11/28/271110.aspx

However, this example doesn't build right...specifically,
CELLTSP_LINENAME_STRING can't be found. Does anyone have idea where it
can be found??

Also, this example looks like overkill for just getting the phone
number. Is there a simpler way in either .NET CF or Win32?

Regards,
Abhijit.


Posted by Peter Foot [MVP] on January 30, 2007, 6:35 am
Please log in for more thread options
You need to include the tsp.h header which contains the CELLTSP_* constants.

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

> Hello All,
>
> I want to find out my WM2003/5.0 device's phone number (SIM or
> otherwise). I poked around a bit on the net and found this link.
>
> http://blogs.msdn.com/windowsmobile/archive/2004/11/28/271110.aspx
>
> However, this example doesn't build right...specifically,
> CELLTSP_LINENAME_STRING can't be found. Does anyone have idea where it
> can be found??
>
> Also, this example looks like overkill for just getting the phone
> number. Is there a simpler way in either .NET CF or Win32?
>
> Regards,
> Abhijit.
>


Similar ThreadsPosted
How to get the device phone number (SIM and not SIM) July 7, 2006, 1:21 pm
Phone number August 24, 2005, 5:37 am
get phone number April 5, 2006, 7:52 am
Getting phone number September 13, 2006, 6:51 pm
How can I get the phone number of the SIM card? August 31, 2005, 10:19 pm
Get incoming call's phone number July 18, 2007, 1:29 pm
How to get incoming call's phone number. July 18, 2007, 1:30 pm
Get incoming phone number question!! November 21, 2007, 1:23 am
Intercepting Outgoing Phone Number March 28, 2008, 10:37 pm
How to get the phone number for voicemail (entry 0) in SpeedDial September 19, 2005, 6:16 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap