blackberry/Ripple-UI — Issue #209: navigator.onLine not supported on Tablet-OS emulator
Author: redbutt
Created: 2011-10-19 23:40:45+00:00
State: open

HTML5 has a native JS object that allows you check the network connectivity. It is supported on the actual PlayBook device, but not in the emulator:

navigator.onLine should return a boolean value of the network state...true for connected, false for not. It is always returning false in the emulator currently.