# Android端SDK接入

用户不具备云端对接能力,或者想直连智能主机，可使用SDK接入

SDK接入需要集成右转公司的智能家居开发包,需要客户将自己的网关协议及SDK协议集成至一个Service App中，将协议转换为对为SDK开发包中的对象

### SDK接入交互图

智能主机通过AIDL的方式,将控制的信息发送到集成了SmartHomeSDK的App再发送数据到智能家居的平台来达到控制设备的目的

![](/files/-LsegEhh5GFkEHMrkkzu)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.youzhuan.net/dev-link-host/android-link-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
