That's exactly what I have tried
ConnectivityManager c=(ConnectivityManager) getSystemService
(Context.CONNECTIVITY_SERVICE);
Log.i(TAG, "c.getActiveNetworkInfo()="+c.getActiveNetworkInfo
());
NetworkInfo info=c.getActiveNetworkInfo();
Log.i(TAG,"info.getTypeName()="+info.getTypeName());
One would expect that there would be a reliable way to do this.
Maybe checking the speed of connection would give me any idea what
they are using ?
Thanks
On Mar 2, 1:22 pm, Kather Jailani <[email protected]> wrote:
> Try getActiveNetworkInfo or getNetwokInfo methods
>
> On Mar 2, 2009 3:13 PM, "rycerz1411" <[email protected]> wrote:
>
> Is there a way to distinguish between Edge and 3G network?
> I have looked at the ConnectivityManager getType method but all it
> returns is MOBILE or WI_FI.
> For 3G i want to show user different UI that I do for an Edge
>
> Anyone have any suggestions.
>
> Greg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---