Skip to content

Commit 977f107

Browse files
author
Animesh Kumar
committedFeb 2, 2011
updated README
1 parent 8f257ac commit 977f107

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed
 

‎README

+1-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Usage (Phonegap)
2525
@Override
2626
public void onCreate(Bundle savedInstanceState) {
2727
super.onCreate(savedInstanceState);
28-
super.loadUrl("file:///android_asset/www/index.html");
28+
super.loadUrl(" file:///android_asset/www/index.html ");
2929

3030
// attach websocket factory
3131
appView.addJavascriptInterface(new WebSocketFactory(appView), "WebSocketFactory");
@@ -50,8 +50,3 @@ Usage (Phonegap)
5050
socket.onclose = function() {
5151
alert('closed');
5252
};
53-
54-
// now, close the connection after 10 secons. (funny!)
55-
setInterval(function() {
56-
socket.close();
57-
}, 10000);

0 commit comments

Comments
 (0)
Failed to load comments.