English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development

Tuya provides multiple mobile app development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.
layoutIndex
TuyaOSAndroid Device IntegrationTuyaOS SDK for Android

TuyaOS SDK for Android

Last Updated on : 2022-01-15 17:12:54download

TuyaOS SDK for Andriod is built on top of the TuyaOS architecture and designed for IoT applications. It applies to Android 4.4 and later versions that are adapted to the data format defined by the Tuya IoT Development Platform.

Preparation

You have created an account on the Tuya IoT Development Platform and got the required information such as product ID (PID) and license. For more information, see Quick Start.

Hardware requirements

  • Flash memory: The SDK code uses about 2 MB memory, with read/write memory areas.
  • RAM: The SDK consumes about 5 MB of the memory while running. You need to increase memory based on your actual implementation.

Software requirements

  • Support Android OS
  • TCP/IP stack

Get the SDK

The SDK is built on the dynamic-link library (.so file) or static library (.a file) in Java or Kotlin and provided as a dependency from a remote Maven repository.

Device authentication

  • The identity and access management respects the one-key-per-device mechanism. You need to flash the unique UUID and AuthKey to each device. This requires altering your current flashing tool if necessary.
  • The UUID and AuthKey are unique and provided in pair.
  • The device authentication messaging is configured by using APIs.

This section contains the following topics to help you quickly understand related concepts and how-to guides: