Nav apraksta

xuxinyi 1fc4332577 firstCommit 1 gadu atpakaļ
.idea 1fc4332577 firstCommit 1 gadu atpakaļ
app 1fc4332577 firstCommit 1 gadu atpakaļ
gradle 1fc4332577 firstCommit 1 gadu atpakaļ
mqtt 1fc4332577 firstCommit 1 gadu atpakaļ
.gitignore 1fc4332577 firstCommit 1 gadu atpakaļ
README.md 1fc4332577 firstCommit 1 gadu atpakaļ
build.gradle 1fc4332577 firstCommit 1 gadu atpakaļ
gradle.properties 1fc4332577 firstCommit 1 gadu atpakaļ
gradlew 1fc4332577 firstCommit 1 gadu atpakaļ
gradlew.bat 1fc4332577 firstCommit 1 gadu atpakaļ
settings.gradle 1fc4332577 firstCommit 1 gadu atpakaļ

README.md

My MQTT

The MQTT Android Service is an MQTT client library modified from https://github.com/eclipse/paho.mqtt.android because old library don't support Android 12. It hasn't updated in a long time.

How to use

  1. Download ZIP and Extract All
  2. Import library to your android project and select only mqtt folder
  3. Edit the build.gradle (app level) file like below.

    dependencies {
    ...
    implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
    implementation project(path: ':mqtt')
    }
    
  4. See example project at https://github.com/ElectApp/MyMQTT/tree/master/app

git