Thursday, July 7, 2011

[android-developers] Re: how to get my mobile service provider using android

thanks for reply
i tested this code

TelephonyManager telephonyManager =((TelephonyManager)
context.getSystemService(Context.TELEPHONY_SERVICE));
String operatorName =
telephonyManager.getNetworkOperatorName();
Log.e("service provider ", operatorName);

and the output in simulator = Android

is this a correct result on simulator or not ????

On Jul 7, 12:15 pm, Raghav Sood <raghavs...@gmail.com> wrote:
> Take a look athttp://developer.android.com/reference/android/telephony/TelephonyMan...()
>
> On Thu, Jul 7, 2011 at 2:16 PM, Ahmed Shoeib
> <ahmedelsayed.sho...@gmail.com>wrote:
>
> > hi all ,
>
> > i want to know how to get my mobile servie provider using android
> > code ?????
>
> > thanks .
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Raghav Soodhttp://www.raghavsood.com/http://www.androidappcheck.com/http://www.telstop.tel/

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment