简体中文 | English
Welcome to the IoT Hub device SDK for Android.
The IoT Hub device SDK for Android relies on a secure and powerful data channel to enable IoT developers to connect devices (such as sensors, actuators, embedded devices, and smart home appliances) to the cloud for two-way communication. This document describes how to get and call the IoT Hub SDK for Android. If you encounter any issues when using it, please feel free to submit them at GitHub.
- Create a Tencent Cloud account and activate IoT Hub in the Tencent Cloud console.
- Create IoT products and devices in the console. For more information, please see Device Connection Preparations.
The SDK supports remote Maven dependencies and local source code dependencies. For more information on how to connect, please see Compilation Environment and SDK Connection Description.
Download the complete code in the repository. The sample code of the IoT Hub SDK for Android demo is in the hub-android-demo module.
Download the installation package.
For more information on how to call the APIs, please see the demos of the following corresponding features.
- Device Connection Through MQTT over TCP
- Device Connection Through MQTT over WebSocket
- Dynamic Registration
- RRPC Sync Communication
- Broadcast Communication
- Gateway Feature
- Firmware Update
- Gateway Subdevice Firmware Update
- Device Log Reporting
- Gateway Device Topological Relationship
- Device Interconnection
- Device Shadow
- Self-Built Server Connection
For the SDK API and parameter descriptions, please see SDK API and Parameter Descriptions in the docs
directory.
For the FAQs, please see FAQs for Android in the docs
directory.