This sample demonstrates the use of Tuya Android Industry App SDK to build an IoT App from scratch. It divides into several function groups to give developers a clear insight into the implementation for different features, includes the user login process, asset management for different users, device network configuration, and controls. For device network configuration, EZ mode and AP mode are implemented, which let developers pair devices over Wi-Fi, as well as control them via LAN and MQTT. For device control, it supplies a common panel for sending and receiving any kind types of data points.
Self-Developed Smart Industry App is one of Tuya’s IoT app development solutions. This solution provides the services that enable connections between the app and the cloud. It also supports a full range of services and capabilities that customers can use to independently develop mobile apps. The Smart Life App SDK used in this sample is included in the Self-developed Smart Industry App Service.
Note:Smart Industry App SDK has done the security checksum。You need to get SHA256 inTuya IoT platform,then bind your SHA256,otherwise it will report an illegal client error. If you need a local dubug to run Sample, you need to configure your signature information in the app module under build.gradle, android closures at:
signingConfigs {
debug {
storeFile file('../xxx.jks')
storePassword 'xxx'
keyAlias 'xxx'
keyPassword 'xxx'
}
}
You can provide feedback on your issue via Github Issue or Technical Ticket.
Tuya Android Smart Life App SDK Sample is available under the MIT license. Please see the LICENSE file for more info.