From 8a0a0a2cd37e6302657dcd60f8b5708974ba8000 Mon Sep 17 00:00:00 2001 From: NaikSoftware Date: Thu, 23 Feb 2017 17:41:14 +0200 Subject: [PATCH 001/110] Add link to example backend --- .idea/misc.xml | 10 ---------- build.gradle | 2 +- example-client/README.md | 3 +++ example-client/build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 5 files changed, 9 insertions(+), 16 deletions(-) create mode 100644 example-client/README.md diff --git a/.idea/misc.xml b/.idea/misc.xml index fbb6828..d2e6725 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -27,16 +27,6 @@ - - - - - - - - - - diff --git a/build.gradle b/build.gradle index a268320..e99910f 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.2' + classpath 'com.android.tools.build:gradle:2.3.0-rc1' classpath 'me.tatarka:gradle-retrolambda:3.3.0' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' diff --git a/example-client/README.md b/example-client/README.md new file mode 100644 index 0000000..deabae9 --- /dev/null +++ b/example-client/README.md @@ -0,0 +1,3 @@ +## Example client for library + +Use server from here https://github.com/NaikSoftware/stomp-protocol-example-server \ No newline at end of file diff --git a/example-client/build.gradle b/example-client/build.gradle index deaa2cf..acfbdb3 100644 --- a/example-client/build.gradle +++ b/example-client/build.gradle @@ -2,12 +2,12 @@ apply plugin: 'com.android.application' android { compileSdkVersion 25 - buildToolsVersion "25.0.1" + buildToolsVersion "25.0.2" defaultConfig { applicationId "ua.naiksoftware.stompclientexample" minSdkVersion 16 - targetSdkVersion 24 + targetSdkVersion 25 versionCode 1 versionName "1.0" } @@ -22,5 +22,5 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:25.1.0' + compile 'com.android.support:appcompat-v7:25.2.0' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e30b867..16f16db 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Dec 15 18:53:34 EET 2016 +#Thu Feb 23 17:37:13 EET 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip From 6bed15604b051bf0c8a8aecfde2d5c034f4c8299 Mon Sep 17 00:00:00 2001 From: NaikSoftware Date: Thu, 23 Feb 2017 18:07:55 +0200 Subject: [PATCH 002/110] Fix build example --- build.gradle | 1 + example-client/build.gradle | 2 ++ example-client/src/main/AndroidManifest.xml | 2 +- .../java/ua/naiksoftware/stompclientexample/MainActivity.java | 2 -- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index e99910f..3797ddc 100644 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,7 @@ buildscript { allprojects { repositories { jcenter() + maven { url "https://jitpack.io" } } } diff --git a/example-client/build.gradle b/example-client/build.gradle index acfbdb3..d8d057b 100644 --- a/example-client/build.gradle +++ b/example-client/build.gradle @@ -23,4 +23,6 @@ dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:25.2.0' + compile 'org.java-websocket:Java-WebSocket:1.3.0' + compile project(':lib') } diff --git a/example-client/src/main/AndroidManifest.xml b/example-client/src/main/AndroidManifest.xml index 84b4478..bc2c078 100644 --- a/example-client/src/main/AndroidManifest.xml +++ b/example-client/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="ua.naiksoftware.stompclientexample"> Date: Thu, 23 Feb 2017 19:23:37 +0200 Subject: [PATCH 003/110] Update layout --- example-client/build.gradle | 1 + .../src/main/res/layout/activity_main.xml | 33 +++++++++++++++---- .../src/main/res/values/strings.xml | 4 ++- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/example-client/build.gradle b/example-client/build.gradle index d8d057b..9d874b8 100644 --- a/example-client/build.gradle +++ b/example-client/build.gradle @@ -24,5 +24,6 @@ dependencies { testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:25.2.0' compile 'org.java-websocket:Java-WebSocket:1.3.0' + compile 'com.android.support:recyclerview-v7:25.2.0' compile project(':lib') } diff --git a/example-client/src/main/res/layout/activity_main.xml b/example-client/src/main/res/layout/activity_main.xml index bdb66c4..2fdfbf7 100644 --- a/example-client/src/main/res/layout/activity_main.xml +++ b/example-client/src/main/res/layout/activity_main.xml @@ -1,5 +1,5 @@ - - - + + +