Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Przykładowe aplikacje to przykłady działającego kodu, który możesz przeglądać i uruchamiać oraz wyciągać z niego wnioski, by rozpocząć tworzenie własnej aplikacji Google Cast.
Codelabs to praktyczne doświadczenie w kodowaniu zawierające szczegółowe instrukcje dotyczące tworzenia aplikacji korzystającej z określonych funkcji interfejsu Cast API lub włączania go w już opublikowanej aplikacji.
Aplikacje referencyjne
Oto aplikacje referencyjne, które są zgodne z listą kontrolną projektowania Google Cast i są zgodne ze sprawdzonymi metodami dotyczącymi Google Cast. Użyj tych aplikacji jako punktu wyjścia przy tworzeniu aplikacji dla Google Cast.
Wymienione tutaj aplikacje wideo pokazują, jak przesyłać filmy od nadawcy za pomocą pakietu CAF Nadawca. Dla uproszczenia te aplikacje nie są w pełni zgodne z listą kontrolną UX.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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."]]