You don't need to specify the READ_PHONE_STATE permission in your
AndroidManifest.xml file.

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


On Jul 27, 3:07 pm, sm1 <[email protected]> wrote:
> In TelephonyManager in Network Operator Name:
>
> TelephonyManager tm = (TelephonyManager) getSystemService
> (Context.TELEPHONY_SERVICE)
>
> tm.getNetworkOperatorName()
>
> You may need to also define some permission in you manifest, maybe
> READ_PHONE_STATE.
>
> serge
>
> On Jul 27, 5:27 pm, junker37 <[email protected]> wrote:
>
> > Is there a way to determine which carrier the phone is using.  T-
> > Mobile, Spring, AT&T, etc?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to