
This section provides high level information on MQTT.
Explore the Eclipse Paho api resources to add the open source mqtt client to your Android app, then download the Android service and Klimt libraries and add them as dependencies.
Explore the Eclipse Paho project to set up an Android MQTT client, download the jar files for the Android service and Klimt library, and add them as dependencies.
Set up a new android project, create a basic activity, and run a hello world app on an emulator, illustrating project scaffolding and simple design via the design tab.
Add the Paho Android library, configure dependencies, and instantiate the MQTT client to connect to a broker, subscribe to a topic, publish messages, and enable reconnect with a clean session.
Complete the android mqtt client by implementing subscribe and publish functions for the think topic, with success and failure handling, using try-catch, and ensure internet permission in the manifest.
Explore the final Android MQTT client app on GitHub, a walkthrough of connect, publish, and subscribe flows, default server values, topic handling, and showing last message delivery to late subscribers.
Learn about MQTT protocol, Eclipse Paho APIs and how to build a Client that can publish / subscribe to MQTT Messages. The client will be built using Java with Android Studio. At the end of the course, you can use the same Eclipse Paho API to make the client on any other language too.