1

Android Webview: xhr-polling keeps page 'loading'

view story
linux-howto

http://stackoverflow.com – I have a WebView running a page containing a socket.io client that connects to a remote node.js server. The problem is that because websockets are not supported in the Android webview (they are in the Android Chrome browser), it falls back to xhr-polling. I have an onProgressChanged listener for the WebChromeClient, but the xhr-polling keeps the page continuously loading. When I log the progress, it reaches ~90-95% and gets no further. This means that I cannot dismiss any loading indicators or perform any other actions that require the page to be fully loaded. Is there anyway I can make Andr (HowTos)