We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f257ac commit 977f107Copy full SHA for 977f107
README
@@ -25,7 +25,7 @@ Usage (Phonegap)
25
@Override
26
public void onCreate(Bundle savedInstanceState) {
27
super.onCreate(savedInstanceState);
28
- super.loadUrl("file:///android_asset/www/index.html");
+ super.loadUrl(" file:///android_asset/www/index.html ");
29
30
// attach websocket factory
31
appView.addJavascriptInterface(new WebSocketFactory(appView), "WebSocketFactory");
@@ -50,8 +50,3 @@ Usage (Phonegap)
50
socket.onclose = function() {
51
alert('closed');
52
};
53
-
54
- // now, close the connection after 10 secons. (funny!)
55
- setInterval(function() {
56
- socket.close();
57
- }, 10000);
0 commit comments