Merge pull request #18 from Urucas/master

Information to add it as gradle dependency for Android Studio
This commit is contained in:
Naoyuki Kanezawa
2014-07-16 23:19:23 +09:00

View File

@@ -20,6 +20,11 @@ The latest artifact is available on Maven Central. Add the following dependency
Or to install it manually, please refer dependencies to [pom.xml](https://github.com/nkzawa/socket.io-client.java/blob/master/pom.xml). Or to install it manually, please refer dependencies to [pom.xml](https://github.com/nkzawa/socket.io-client.java/blob/master/pom.xml).
Add it as a gradle dependency for Android Studio, in build.gradle:
```javascript
compile 'com.github.nkzawa:socket.io-client:0.1.2'
```
## Usage ## Usage
Socket.IO-client.java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`: Socket.IO-client.java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`: