From bbe862bf16ea662746e971bac807a65f2b4d1f25 Mon Sep 17 00:00:00 2001 From: Pamela Prosperi Date: Wed, 16 Jul 2014 11:03:32 -0300 Subject: [PATCH 1/2] Update README.md Add the gradle implementation for Android Studio --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a0967e7..df51de9 100644 --- a/README.md +++ b/README.md @@ -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). +Add it as a gradle dependency for Android Studio, in build.gradle: +```json +compile 'com.github.nkzawa:socket.io-client:0.1.2' +``` + ## Usage Socket.IO-client.java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`: From e90a771008d5f35fde06cf4576bfc1b56892b030 Mon Sep 17 00:00:00 2001 From: Pamela Prosperi Date: Wed, 16 Jul 2014 11:04:54 -0300 Subject: [PATCH 2/2] Update README.md Change the language of the code part --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df51de9..b3f4806 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ 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). Add it as a gradle dependency for Android Studio, in build.gradle: -```json +```javascript compile 'com.github.nkzawa:socket.io-client:0.1.2' ```