# Demo Code Index

The official Demo repository is:

https://gitee.com/as_pixar/glass3sdkdemo

Use the Demo first to validate the connection between phone and glasses, then map the target capability to the corresponding code sample document.

## Main Documents

- Demo running guide: `references/docs/downloads/demo-guide.md`
- Code sample overview: `references/docs/downloads/samples.md`
- Device connection samples: `references/docs/代码示例/10-device-connection/`
- Messaging and file transfer samples: `references/docs/代码示例/20-message-transfer/`
- Media samples: `references/docs/代码示例/30-media/`
- Voice, TTS and AI samples: `references/docs/代码示例/35-voice-ai/`
- Face and license plate recognition samples: `references/docs/代码示例/40-vision/`
- OTA and system setting samples: `references/docs/代码示例/50-system/`

## Fetch Demo Repo

Run `scripts/fetch-demo-repo.sh` from this skill package if you need to clone the Demo source locally.

## API Naming Notes

- For phone-to-glasses file sending, prefer the documented operators such as `getFileOperater().sendFile(...)`, `getBtFileOperater().sendFile(...)`, or `getApkFileOperator()?.sendFile(...)`. Do not invent generic methods such as `sdk.sendFile(...)`.
