Skip to content

tuya/tuya-home-android-sdk-sample-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuya Android Smart Life App SDK Sample

中文版|English

This sample demonstrates the use of Tuya Android Smart Life 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 registration process, home 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 Life App Service

Self-Developed Smart Life 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 Life App Service.

Self-Developed Smart Life App is classified into the Development and Official editions:

  • Self-Developed App Development: provided for a free trial. It supports up to 1 million cloud API calls per month and up to 100 registered end users in total.

  • Self-Developed App Official: provided for commercial use and costs $5,000/year (¥33,500/year) for the initial subscription and $2,000/year (¥13,500/year) for subsequent annual renewal. It is supplied with the Custom Domain Name service and up to 100 million cloud API calls per month.

For more information, please check the Pricing.

Get Started

Note:From the 3.29.5 version,Smart Life 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'
        }
    }

App Images

main_page

Issue Feedback

You can provide feedback on your issue via Github Issue or Technical Ticket.

License

Tuya Android Smart Life App SDK Sample is available under the MIT license. Please see the LICENSE file for more info.

About

This sample is designed to help developers learn more about how to use the features of Tuya Smart Life App SDK for Android.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published