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 |
| Discover, connect, or manage glasses devices | Device management |
| Handle Bluetooth, P2P, or large-file channels | Bluetooth and P2P |
| Send messages or files to glasses | Messaging and files |
| Receive glasses media streams or albums | Camera and media receiving |
Integration Order
- Read SDK overview to understand how the Phone SDK works with the Glasses SDK.
- Follow Quick start to add dependencies. To run the official Demo and validate the basic connection, open the Demo running guide.
- Find a similar scenario in Code samples, then return to the API reference for details.
API Reference
| Module | Entry |
|---|---|
| Initialization and engine | View APIs |
| Device management | View APIs |
| Bluetooth and P2P | View APIs |
| Messaging and files | View APIs |
| Camera and media receiving | View APIs |
| Full API reference | View full docs |
Samples
- View all code samples
- Classic Bluetooth scan and connection
- Bluetooth and P2P unified pairing
- Wi-Fi P2P connection
Related Resources
If you are not sure which side owns an interface, start from Capability scenarios. If you already know the interface name, open the full API reference and search directly.