I have written a small app that acquires a WIFILock.  Every 15 seconds
it does a small http request.  If the G1 is running on battery and the
screen saver kicks on it will ultimately result in "No route to host"
- despite the fact that the connection appears to be up when checking
the WifiManager and ConnectivityManager.  If I then pick up the
handset and attempt to access the internet (browser, email, etc.),
nothing is accessible.  The only way to make things accessible is to
release the lock, let the device go to idle (which releases the
radio), and then wake it up, thus reconnecting WIFI, and internet
access is again possible.

Now if I leave it plugged in, then it is able to continuously make the
request.  Interestingly, if I ping the device repeatedly from my
desktop, it seems to be able to continue to make requests (although I
haven't taken the time yet to be certain).

The WIFILock as it is currently working is not of much use.  I have
even tried to re-connect in this case, or toggle the WIFI on and off,
but neither of these work.

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