Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to get the operator name?

 
   Soft32 Home -> PDA -> Pocket PC Developer RSS
Next:  BeanFinder(c) Update - Oct 9 2009  
Author Message
Mike Bresnahan

External


Since: Oct 09, 2009
Posts: 2



(Msg. 1) Posted: Fri Oct 09, 2009 2:49 pm
Post subject: How to get the operator name?
Archived from groups: microsoft>public>pocketpc>developer (more info?)

On Windows Mobile devices, how does one determine the name of the wireless
operator that the phone is subscribed to (e.g. Sprint. Verizon, etc.)? Note
that I don't mean the operator that owns the cell site that the phone is
currently connected to. I'm talking about the "home" operator; the one the
subscriber has a contract with.

I know this can be done on GSM phones using the first 6 digits of the IMSI,
but this does not work on CDMA phones.

I have also tried using
Microsoft.WindowsMobile.Status.SystemState.PhoneOperatorName in the .NET
Compact Framework, but it is unclear which carrier this refers to (home or
cell tower owner) and I have seen it return a blank string.
Back to top
Login to vote
Peter Foot

External


Since: Mar 12, 2009
Posts: 9



(Msg. 2) Posted: Tue Oct 13, 2009 3:20 pm
Post subject: Re: How to get the operator name? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

PhoneOperatorName returns the name from the currently connected service. If
you are roaming you'll get the operator name of the current network which
won't be the same as the "home" network to which the user is subscribed. If
you know the mapping between the IMSI digits and operator name you can
access the IMSI information through TAPI, your application will most likely
have to be code-signed for this to work (depending on the security settings
of the device).

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility

"Mike Bresnahan" <MikeBresnahan DeleteThis @discussions.microsoft.com> wrote in message
news:8004386A-27A2-49A6-9535-45D988E500A8@microsoft.com...
> On Windows Mobile devices, how does one determine the name of the wireless
> operator that the phone is subscribed to (e.g. Sprint. Verizon, etc.)?
> Note
> that I don't mean the operator that owns the cell site that the phone is
> currently connected to. I'm talking about the "home" operator; the one the
> subscriber has a contract with.
>
> I know this can be done on GSM phones using the first 6 digits of the
> IMSI,
> but this does not work on CDMA phones.
>
> I have also tried using
> Microsoft.WindowsMobile.Status.SystemState.PhoneOperatorName in the .NET
> Compact Framework, but it is unclear which carrier this refers to (home or
> cell tower owner) and I have seen it return a blank string.
Back to top
Login to vote
Mike Bresnahan

External


Since: Oct 09, 2009
Posts: 2



(Msg. 3) Posted: Tue Oct 13, 2009 3:20 pm
Post subject: Re: How to get the operator name? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Using the IMSI works on GSM phones, but not on CDMA phones. Although CDMA
phones have a IMSI (not sure why), the mobile network code is not reliable in
my experience. For example, I have seen a Sprint and a Verizon phone with a
MNC of 7. Thus my problem and my question.

As a footnote, I did not need to sign my code to obtain the IMSI through RIL.

"Peter Foot" wrote:

> PhoneOperatorName returns the name from the currently connected service. If
> you are roaming you'll get the operator name of the current network which
> won't be the same as the "home" network to which the user is subscribed. If
> you know the mapping between the IMSI digits and operator name you can
> access the IMSI information through TAPI, your application will most likely
> have to be code-signed for this to work (depending on the security settings
> of the device).
>
> Peter
>
> --
> Peter Foot
> Microsoft Device Application Development MVP
> peterfoot.net | appamundi.com | inthehand.com
> APPA Mundi Ltd - software solutions for a mobile world
> In The Hand Ltd - .NET Components for Mobility
>
> "Mike Bresnahan" <MikeBresnahan.TakeThisOut@discussions.microsoft.com> wrote in message
> news:8004386A-27A2-49A6-9535-45D988E500A8@microsoft.com...
> > On Windows Mobile devices, how does one determine the name of the wireless
> > operator that the phone is subscribed to (e.g. Sprint. Verizon, etc.)?
> > Note
> > that I don't mean the operator that owns the cell site that the phone is
> > currently connected to. I'm talking about the "home" operator; the one the
> > subscriber has a contract with.
> >
> > I know this can be done on GSM phones using the first 6 digits of the
> > IMSI,
> > but this does not work on CDMA phones.
> >
> > I have also tried using
> > Microsoft.WindowsMobile.Status.SystemState.PhoneOperatorName in the .NET
> > Compact Framework, but it is unclear which carrier this refers to (home or
> > cell tower owner) and I have seen it return a blank string.
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Operator++ overloading challenge - I have defined a basic node class for a linked list. // Doubly linked list node class class CNode { public: CObj*...

Automatically get GPRS settings from Operator - Hi All, yesterday i was using a Symbian OS9 based handset and it had an application of automatically detecting the GPRS...

Operator DELETE already defined in coredll error - Hi, I am developing a project in eVC for PocketPC 2002. I passed a compilation and linking process in 'debug' mode..

unresolved symbol std::basic_string...operator+... - Hello, I am porting an existing Windows 2000 C++ application to CE 4.2. I am getting unresolved symbols about ...

Autocasting a C++ class to an operator method in a variabl.. - This is something that's been bugging me for a while that maybe someone here will have an answer to. I have a class..

Headset Device Side Implementation in WinCE - Hi All, I am trying to create a winCE based HS/HF device (Here the WincE will act as the HS/DF device side ....
       Soft32 Home -> PDA -> Pocket PC Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]