AndroidWebSocketTest I used a couple of projects to build this "working" example of filling the missing WebSocket implementation in Android WebView. The example only connects and reads readyState 5 times and then closes connection.