my first time experimenting with Apache Cordova 3.0.
downloaded lib, unziped cordova-android and cordova-js and created a project:
./create ~/Docume
I had the same problem with Cordova 3.5.0: navigator.connection.type
returned 0
all the time and navigator.onLine
was true
. It was frustrating.
Then I found that the problem is only on my phone (with Android 2.3) and it works on emulator.
I guess that the problem can relate with Android version too.