Developer Guide for Android

Last Updated on : 2024-05-17 01:25:25download

Tuya Cube App SDK for Android depends on Android 6.0 and later.

Get AppKey and AppSecret Go to GitHub Repository

Functional description

The SDK supports the following features:

  • User accounts: enables end-to-end user account management features. For example, register and log in with mobile phone numbers or email addresses, reset account passwords, and process session expiration. For more information, see User Account Management.
  • Homes: allows users to manage homes and rooms, share homes, and implement other home features. For more information, see Home Management.
  • Devices: allows users to pair devices, control devices, report device status, manage groups, manage scheduled tasks, update firmware, and implement other device management and control features.

Extension SDK

Tuya Cube App SDK for Android provides common extension SDKs, including the IPC SDK, smart lock SDK, and sweeper SDK. These SDKs encapsulate specified features for the vertical resources and facilitate the development of products in vertical fields. For more information, see Extension SDK.

UI BizBundle SDK

Tuya UI BizBundle for Android is a vertical service bundle that encompasses logic modules and UI pages. It enables efficient access to comprehensive service modules provided by Tuya and accelerates your development based on Tuya Cube App SDK. For more information, see What is UI BizBundle SDK for Android?

Sample SDK

Tuya provides open source Android samples. You can build apps with a few simple steps based on the samples. If problems arise during the development, you can set breakpoints in the sample code to fix the problems.