1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
Websocket Android Plugin with Phonegap integration
2
- ---------------------------------------------------------------------
2
+ --------------------------------------------------
3
3
4
4
This is a Java library that implements Websockt API (Draft-75/76) for Android platform. Library uses java.nio.* packages for
5
5
efficinet non-blocking evented behavior. It easily gets integrated with Phonegap framework.
6
6
7
7
Usage (native Android)
8
- ------------------------------
8
+ ----------------------
9
9
10
10
1. Copy Java source into your source folder.
11
11
2. Create a class, say WebSocket extending WebSocketListener (refer: com.strumsoft.websocket.WebSocket)
@@ -16,7 +16,7 @@ Usage (native Android)
16
16
4. onReconnect (WebSocketListener will try to reconnect to the server in case of connection failure)
17
17
18
18
Usage (Phonegap)
19
- -----------------------
19
+ ----------------
20
20
21
21
1. Copy Java source into your source folder.
22
22
2. Copy websocket.js in your assets/www/js folder
0 commit comments