Thanks for your response, Kumar.

It appears that getNetworkInfo and getActiveNetworkInfo achieve the same
result (at least that's what it looks like from what I can see).  I'm using
getActiveNetworkInfo in my snippet below.

I'm more interested in the mobile sub-types (EDGE, HSDPA, etc) than the
types (Mobile or WIFI).  I.e. what would I get for the subtype on AT&T's or
Vodafone's network?  I am assuming that these values would differ per
carriers (again - big assumption :)

That's why I was asking if there was a resource somewhere where I might find
the possible values that could be returned on a per-carrier basis :-)


On Wed, Nov 17, 2010 at 1:49 AM, Kumar Bibek <[email protected]> wrote:

> The Commectivity Manager has a method called getNetworkInfo which will give
> you a list of different types of networks and their current state. However,
> these are not carrier dependent, rather device dependent you can say. Almost
> all devices have all these types of networks.
>
>
> On Wed, Nov 17, 2010 at 11:48 AM, Rob Franz <[email protected]> wrote:
>
>> If I have something like:
>>
>> mConnectivityManager= (ConnectivityManager)
>> getSystemService(Context.CONNECTIVITY_SERVICE);
>> NetworkInfo mActiveNetworkInfo=
>> mConnectivityManager.getActiveNetworkInfo();
>> Log.d(TAG, "network info -> subtype name: " +
>> mActiveNetworkInfo.getSubtypeName());
>>
>> I would get this in the logs:
>>
>> "network info -> subtype name: HSDPA"
>>
>> I am assuming this is something that is network-provided (here I'm on
>> T-Mobile US) and each carrier could have different technology types
>> and subsequently different values, i.e. Verizon or Sprint would have
>> different values altogether as they're CDMA.
>>
>> Assuming the above is true, would there be a list somewhere of what
>> different carriers report for the subtype?  The documentation seems to
>> be a little sparse for this.
>>
>> Thanks
>> Rob
>>
>>
>> --
>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Kumar Bibek
> http://techdroid.kbeanie.com
> http://www.kbeanie.com
>
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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