Coder Social home page Coder Social logo

liminghuanghengtian / tuya-home-android-sdk-sample-kotlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tuya/tuya-home-android-sdk-sample-kotlin

0.0 0.0 0.0 827 KB

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

Home Page: https://developer.tuya.com/en/docs/app-development/android-app-sdk/featureoverview?id=Ka69nt97vtsfu

License: MIT License

Java 7.97% Kotlin 92.03%

tuya-home-android-sdk-sample-kotlin's Introduction

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.

tuya-home-android-sdk-sample-kotlin's People

Contributors

zlinoliver avatar linhuiluo avatar radishwu avatar innocencellh avatar mrwangqi avatar tsutsuku avatar liminghuanghengtian avatar hugo-tuya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.