[android-developers] Re: Problem with Wi-Fi connectivity with Android 1.6

2009-10-29 Thread skyhigh

Another difference that I have noticed with Android 1.6 is that when
it shows the Wi-Fi connectivity icon in the bar at the top of the
screen, it still continues to show the EDGE connection icon next to
it.  With Android 1.5 when the device connects to a Wi-Fi network the
Wi-Fi icon would appear in the top bar and the EDGE connection icon
would go away.

An am concerned about the network connectivity because my application
has to do large downloads, often in the range of 400MB to 800MB, and I
would like to do these downloads over the Wi-Fi network instead of the
phone data network.

Does anyone know why the active network connection on Android 1.6
continues to be the Mobile connection even when it also has Wi-Fi
connectivity?  Is there a way to work around this?


--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with Wi-Fi connectivity with Android 1.6

2009-10-29 Thread Mark Murphy

skyhigh wrote:
> Another difference that I have noticed with Android 1.6 is that when
> it shows the Wi-Fi connectivity icon in the bar at the top of the
> screen, it still continues to show the EDGE connection icon next to
> it.  With Android 1.5 when the device connects to a Wi-Fi network the
> Wi-Fi icon would appear in the top bar and the EDGE connection icon
> would go away.

Android 1.6 on my stock G1 behaves as 1.5 does -- you either have the
WiFi status bar icon or the EDGE status bar icon.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.2 Available!

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with Wi-Fi connectivity with Android 1.6

2009-10-29 Thread skyhigh

I also have a stock G1.  Perhaps the issue is a result of something
wrong after the upgrade to 1.6 on certain phones.  There is another
topic on this forum at
http://groups.google.com/group/android-developers/browse_thread/thread/2a221443d0298d50/e29c74cb934027ba?hl=en&lnk=gst&q=wifi+mobile+connection#e29c74cb934027ba
titled "  I get the "unable to start wifi" " where people are
discussing being unable to use Wi-Fi after upgrading to 1.6 until they
hard reset their device to the factory defaults.

I don't think this is exactly the same issue I am seeing because I am
not seeing the "unable to start wifi" message they discuss.  When I go
to the Wi-Fi settings it says I am connected through Wi-Fi, and the Wi-
Fi icon is shown at the top of the screen.

In the Wi-Fi settings when I disable Wi-Fi, the Wi-Fi icon at the top
of the screen goes away.  When I re-enable Wi-Fi in the settings, it
says that it connects and I see the Wi-Fi icon come back at the top of
the screen.  Watching during this process I can see that the EDGE icon
did go away when the Wi-Fi icon showed up, but about 2 seconds later
the EDGE icon came back on at the top of the screen.  Both the Wi-Fi
and EDGE icons stay on after that.

I don't know if the phone is actually using the Wi-Fi network or the
EDGE network, only that it is reporting the active network is the
Mobile network.

I have had some customers contacting me about issues with the
application downloading over Wi-Fi, so I think that others must also
be seeing the Wi-Fi not working  correctly on their phones.



--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with Wi-Fi connectivity with Android 1.6

2009-10-29 Thread Mark Murphy

> I also have a stock G1.  Perhaps the issue is a result of something
> wrong after the upgrade to 1.6 on certain phones.

I'm assuming you've tried a garden-variety power-off-and-reboot to see if
that clears things up.

> I don't know if the phone is actually using the Wi-Fi network or the
> EDGE network, only that it is reporting the active network is the
> Mobile network.

What API are you using to determine this?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with Wi-Fi connectivity with Android 1.6

2009-10-29 Thread skyhigh

Thanks Mark, that fixed the problem.  When I powered the phone off and
then back on it started working properly.

The API that I am calling to check the active network is
ConnectivityManager.getActiveNetworkInfo().  Please see the code
sample I posted earlier on this thread for how I am using this API.


--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---