I don't have an answer, but....

The firmware already does all this - disabling WiFi when the screen goes off and enabling it when the user unlocks the phone.

That's one of the three sleep policies anyway.

24.11.2011 4:01, Keith Hill пишет:
I just tested the app on a 2.2 tablet and it doesn't have this
problem, but 2.2. only has one connected icon.  Bummer . . . this
seems to be a honeycomb specific problem.  Anyone out there know a way
around this?

On Nov 22, 10:18 pm, Keith Hill<[email protected]>  wrote:
This is actually happening with the ACTION_SCREEN_OFF part of the
listener. I am turning wifi off when the screen goes off and even if I
don't turn it back on when the screen comes on, when I manually turn
on wifi, I still have this icon problem. I am stumped and I have tried
everything that I can.

On Nov 20, 11:03 pm, Keith Hill<[email protected]>  wrote:







I have a service that is using a BroadcastReceiver to watch for
ACTION_SCREEN_ON.  When that happens, I am using a wifimanager to turn
wifi back on and reconnect.  For some reason, I connect to the network
just fine, but the icon in the notification bar shows that I am not
connected.  Instead of showing the blue icon (honeycomb), it changes
to a semi white status icon, even though I have a connection.  It
almost looks like the status when it is in the process of connecting,
but not as white.  Any ideas as to why this would be happening?
The only way to fix it is to reboot the device.  Even turning the wifi
off and back on manually won't fix the icon error.
Help is greatly appreciated.

--
Kostya Vasilyev

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