Well I created a workaround for this, by testing network download
speed.
Here is a link to the source code
<a href="http://www.gregbugaj.com/?p=47";>Source</a>

This is not perfect but it works, maybe they are using one of their
internal packages that are not available via SDK.


On Mar 2, 1:39 pm, rycerz1411 <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to