# Phone SDK

The Phone SDK is for Android phone applications. It acts as the connection and control layer for discovering glasses, establishing Bluetooth and P2P channels, exchanging messages and files, receiving media streams, OTA, and configuration sync.

## When to Use This Page

| Scenario | Recommended entry |
| --- | --- |
| Initialize the phone SDK or engine | [Initialization and engine](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_1-sdk初始化) |
| Discover, connect, or manage glasses devices | [Device management](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_8-设备信息与拉取眼镜端音视频流) |
| Handle Bluetooth, P2P, or large-file channels | [Bluetooth and P2P](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_2-wifip2p客户端管理模块) |
| Send messages or files to glasses | [Messaging and files](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_4-消息管理模块) |
| Receive glasses media streams or albums | [Camera and media receiving](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_8-设备信息与拉取眼镜端音视频流) |

## Integration Order

1. Read [SDK overview](../getting-started/接入指南.md) to understand how the Phone SDK works with the Glasses SDK.
2. Follow [Quick start](../getting-started/快速开始.md) to add dependencies. To run the official Demo and validate the basic connection, open the [Demo running guide](/en/downloads/demo-guide.md).
3. Find a similar scenario in [Code samples](/en/downloads/samples.md), then return to the API reference for details.

## API Reference

| Module | Entry |
| --- | --- |
| Initialization and engine | [View APIs](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_1-sdk初始化) |
| Device management | [View APIs](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_8-设备信息与拉取眼镜端音视频流) |
| Bluetooth and P2P | [View APIs](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_2-wifip2p客户端管理模块) |
| Messaging and files | [View APIs](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_4-消息管理模块) |
| Camera and media receiving | [View APIs](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md#_8-设备信息与拉取眼镜端音视频流) |
| Full API reference | [View full docs](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md) |

## Samples

- [View all code samples](/en/downloads/samples.md)
- [Classic Bluetooth scan and connection](../../代码示例/10-device-connection/01-经典蓝牙扫描与连接.md)
- [Bluetooth and P2P unified pairing](../../代码示例/10-device-connection/02-蓝牙与-P2P-一体化配对.md)
- [Wi-Fi P2P connection](../../代码示例/10-device-connection/03-Wi-Fi-P2P-连接.md)

## Related Resources

If you are not sure which side owns an interface, start from [Capability scenarios](../scenarios/). If you already know the interface name, open the [full API reference](../api-reference/Glass3%20%20SDK(手机端)%20API文档.md) and search directly.
