Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Ứng dụng mẫu là ví dụ về mã đang hoạt động mà bạn có thể duyệt qua, chạy và học hỏi để bắt đầu phát triển ứng dụng Google Cast của riêng mình.
Lớp học lập trình mang đến trải nghiệm lập trình trực tiếp có hướng dẫn từng bước, giúp bạn tìm hiểu quy trình xây dựng ứng dụng có sử dụng một số tính năng nhất định của Cast API hoặc cho phép ứng dụng hiện có sử dụng Cast API.
Ứng dụng tham khảo
Các ứng dụng tham chiếu được liệt kê ở đây là những ứng dụng tuân thủ Danh sách kiểm tra của Google Cast Design và tuân thủ các phương pháp hay nhất để phát triển Google Cast. Dùng các ứng dụng này làm điểm khởi đầu khi phát triển ứng dụng cho Google Cast.
Các ứng dụng video được liệt kê ở đây cho biết cách truyền video từ người gửi bằng cách sử dụng CAF
Sender SDK. Để cho đơn giản, những ứng dụng này chưa hoàn toàn tuân thủ Danh sách kiểm tra trải nghiệm người dùng.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eExplore working sample apps and codelabs to learn Google Cast app development.\u003c/p\u003e\n"],["\u003cp\u003eReference apps showcase best practices and compliance with the Google Cast Design Checklist.\u003c/p\u003e\n"],["\u003cp\u003eDiscover video and audio apps demonstrating diverse Cast functionalities.\u003c/p\u003e\n"],["\u003cp\u003eUtilize provided source code and codelabs for hands-on learning and app building.\u003c/p\u003e\n"],["\u003cp\u003eFind various sample apps for platforms including Android, iOS, Web, and Android TV.\u003c/p\u003e\n"]]],["Sample apps and codelabs provide working code examples and step-by-step instructions for Google Cast app development. Reference apps, like CastReceiver, CastAndroidTvReceiver, and CastVideos, adhere to Google Cast best practices. Video apps, such as CastHelloVideo-ios, demonstrate video casting. Audio apps, like Android-UniversalMusicPlayer, showcase media app best practices. Each entry includes platform, language, source code, and codelab links, offering resources for various development environments like Android, iOS, and Web.\n"],null,["# Sample Apps\n\nSample apps are examples of working code that you can browse, run,\nand learn from to get started developing your own Google Cast app.\n\n[Codelabs](../codelabs) provide a guided, hands-on coding experience\nwith step-by-step instructions that take\nyou through the process of either building an app that uses certain features of\nthe Cast API or enabling an existing app to use the Cast API.\n\nReference apps\n--------------\n\nThe reference apps listed here are those that comply with the\n[Google Cast Design Checklist](/cast/docs/design_checklist)\nand follow Google Cast development best practices. Use these apps\nas a starting point when developing your app for Google Cast.\n\n### CastReceiver\n\n| Details ||\n|-----------------|------------------------------------------------------------------------------------|\n| **Platform** | Receiver, MPL |\n| **Languages** | JavaScript, HTML, CSS |\n| **Source Code** | [github.com/googlecast/CastReceiver](https://github.com/googlecast/CastReceiver) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-receiver/](/cast/codelabs/cast-receiver) |\n\n### CastAndroidTvReceiver\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------------------|\n| **Platform** | Android |\n| **Languages** | Android |\n| **Source Code** | [github.com/googlecast/CastAndroidTvReceiver](https://github.com/googlecast/CastAndroidTvReceiver) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-connect-atv/](/cast/codelabs/cast-connect-atv) |\n\n### CastVideos-android\n\n| Details ||\n|-----------------|------------------------------------------------------------------------------------------------|\n| **Platform** | Android |\n| **Languages** | Android |\n| **Source Code** | [github.com/googlecast/CastVideos-android](https://github.com/googlecast/CastVideos-android) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-videos-android/](/cast/codelabs/cast-videos-android) |\n\n### CastVideos-ios\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------|\n| **Platform** | iOS |\n| **Languages** | Swift, Objective-C |\n| **Source Code** | [github.com/googlecast/CastVideos-ios](https://github.com/googlecast/CastVideos-ios) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-videos-ios/](/cast/codelabs/cast-videos-ios) |\n\n### CastVideos-chrome\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------------|\n| **Platform** | Web |\n| **Languages** | JavaScript, HTML, CSS |\n| **Source Code** | [github.com/googlecast/CastVideos-chrome](https://github.com/googlecast/CastVideos-chrome) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-videos-chrome/](/cast/codelabs/cast-videos-chrome) |\n\nVideo apps\n----------\n\nThe video apps listed here show how to cast videos from a sender using the CAF\nSender SDK. For simplicity, these apps are not fully compliant with the UX\nChecklist.\n\n### CastHelloVideo-ios\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------------|\n| **Platform** | iOS |\n| **Languages** | Objective-C, Swift |\n| **Source Code** | [github.com/googlecast/CastHelloVideo-ios](https://github.com/googlecast/CastHelloVideo-ios) |\n\nAudio apps\n----------\n\nThe audio apps listed here show best practices for building media apps.\n\n### Android-UniversalMusicPlayer\n\nThis app works across Android devices including Auto and Wear, as well as Cast\ndevices.\n\n| Details ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------|\n| **Platform** | Android |\n| **Languages** | Kotlin |\n| **Source Code** | [github.com/googlesamples/android-UniversalMusicPlayer/](https://github.com/googlesamples/android-UniversalMusicPlayer/) |\n\n| **Note:** The Android Cast SDK also includes two Cast samples apps under Google Play services in extras."]]