MQTT Java Library, conforms to MQTT 3.1.1
This library is barebones, it contains no platform specific implementations such as threading or connectionhandling. If you plan on using this for Android projects you should look at Qatja Android which uses a predefined service.
Add the following to your build.gradle file
dependencies {
compile 'se.wetcat.qatja:core:1.0.1'
}
<dependency>
<groupId>se.wetcat.qatja</groupId>
<artifactId>core</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
Based on the work by Andreas Göransson and David Cuartielles in the book "Professional Android Open Accessory programming with Arduino" and later mqtt4processing and mqtt4android.