Are there known issues with navigator.onLine on Android 2.1? I have a Droid on airplane mode, but navigator.onLine appears to be returning true anyway. (I'm using an HTML manifest to cache the page, and its behavior works fine in Mobile Safari and Firefox in offline mode.)
A:
Yes as far as I've been able to tell, navigator.onLine always returns true on Droid 2.1. I think that this issue has been addressed in 2.2 along with a number of other offline-related APIs including a new navigator.connection enumeration of connection types, navigator.connection.type for the current connection in use, plus "ononline" and "onoffline" events.
disbelief
2010-07-13 15:07:44