קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כשיש לכם הבנה כללית על Cast, הסוגים השונים של שולחים ומקלטים והפלטפורמות הנתמכות (ראו סקירה כללית על Cast SDK), תוכלו להתחיל לפתח אפליקציות באמצעות Cast SDK.
פתחו את אפליקציית Google Home במכשיר השולח ופעלו לפי הנחיות ההגדרה של המכשיר. לחלופין, ניתן לעיין בדף התמיכה של אפליקציית Google Home, שכולל קישורים להוראות הגדרה בכל המכשירים שתומכים ב-Google Cast.
למכשירים אחרים שתומכים ב-Cast, עיין בהוראות ההגדרה של היצרן.
רשום את המכשיר התומך ב-Cast ב-Google Cast SDK Developer Console (נדרש כדי להשתמש במכשיר לבדיקה).
אל תנסה לרשום את המכשיר ב-Developer Console בלי להשלים קודם את השלב הקודם.
מומלץ לקרוא את חומרי המבוא על הפלטפורמה הספציפית ועל סוג האפליקציה שאתם מטמיעים:
למכשירי Chromecast, כולל Chromecast with Android TV ומכשירי מסך מגע, עיינו במאמר Android TV with Google Cast.
למידע על Google Cast להתקני אודיו, כדאי לעיין במאמר התקני אודיו.
מחליטים באיזה סוג של מקלט רוצים להשתמש.
צריך לקבל את ספריות ה-API לאפליקציות השולח והנמען שרוצים לפתח:
כדאי לנסות את האפליקציות לדוגמה ואת Codelabs. באפליקציות לדוגמה יש קוד עבודה שאפשר להדר ולהפעיל, ואילו ב-codelabs נהנים מחוויית תכנות מודרכת ומעשית עם הוראות מפורטות.
הבנת תהליך הפיתוח
בשלב הזה אתם מוכנים להתחיל לעבוד בפועל של פיתוח אפליקציית Cast.
סמלי Cast מופיעים בממשק המשתמש של לחצן הפעלת Cast בכל פלטפורמה, וכן בספריית v7mediarouter של Android.
אם אתם מטמיעים לחצן העברה מותאם אישית ועליכם להוסיף את סמלי ההעברה באופן ידני, תוכלו להוריד אותם בנפרד. ארכיון ה-zip הזה כולל גרסאות ל-Android, ל-iOS ולאינטרנט.
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eSet up your Cast device and register it on the Google Cast SDK Developer Console before starting development.\u003c/p\u003e\n"],["\u003cp\u003eChoose the type of Receiver you'll use and get the necessary API libraries for your Sender and Receiver apps (Web, iOS, or Android).\u003c/p\u003e\n"],["\u003cp\u003eFamiliarize yourself with the development process, including app registration, UX guidelines, and testing procedures.\u003c/p\u003e\n"],["\u003cp\u003eInstall the required API libraries and configure your development environment using provided instructions.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, download Cast icons if implementing custom Cast buttons in your application.\u003c/p\u003e\n"]]],[],null,["# Get Started\n\nEquipped with a general understanding of Cast, the different types of Senders\nand Receivers, and which platforms are supported (see\n[Cast SDK Overview](/cast/docs/overview)), you're ready to begin developing apps\nusing the Cast SDK.\n\nPrepare for Cast development\n----------------------------\n\n1. Connect your Cast device and complete the setup instructions.\n\n 1. For Google Cast-enabled devices:\n\n 1. [Download the Google Home app from the Google Play Store](https://play.google.com/store/apps/details?id=com.google.android.apps.chromecast.app) to an\n Android Sender device\n\n or [download the Google Home app from the Apple App Store](https://apps.apple.com/tc/app/google-home/id680819774)\n to an iOS Sender device.\n 2. Open the Google Home app on your Sender device and follow the\n setup prompts for your device, or consult the [Google Home app support page](https://support.google.com/googlenest/answer/7071794)\n which has links to setup instructions for all Google Cast-enabled\n devices.\n\n 2. For other Cast-enabled devices, please refer to the manufacturer's setup\n instructions.\n\n | **Note:** You must set up your Cast-enabled device and link it to a user account before you attempt to register it on the Developer Console in the next step.\n2. [Register](/cast/docs/registration#devices) your Cast-enabled device at the\n [Google Cast SDK Developer Console](https://cast.google.com/publish/#/overview)\n (**this is required in order to use the device for testing**).\n Do not attempt to register your device on the Developer Console without first completing the previous step.\n\n3. Review the introductory materials on the specific platform and type of app\n you're implementing:\n\n 1. For Chromecast devices, including Chromecast with Android TV and touch display devices, see [Android TV with Google Cast](/cast/docs/android_tv).\n 2. For Google Cast for audio devices, see [Audio Devices](/cast/docs/audio).\n4. Decide which type of Receiver you intend to use.\n\n5. Get the API libraries for the Sender and Receiver apps you intend to develop:\n\n | App Type | Web | iOS | Android |\n |----------|:---------------------------------------------------------------------:|:-----------------------------------------------:|:-----------------------------------------------------------------------------------------:|\n | Sender | [Web Sender](/cast/docs/web_sender#setup) | [iOS Sender](/cast/docs/ios_sender#xcode_setup) | [Android Sender](/cast/docs/android_sender#prerequisites) |\n | Receiver | [Web Receiver](/cast/docs/web_receiver/basic#google_web_receiver_sdk) | n/a | [Android TV Receiver](/cast/docs/android_tv_receiver/core_features#configuring_libraries) |\n [API library setup instructions]\n\n \u003cbr /\u003e\n\n6. Try out the [Sample Apps](/cast/docs/sample_apps)\n and [Codelabs](/cast/codelabs). The sample apps feature working code that can\n be compiled and executed, while the codelabs provide a guided, hands-on coding\n experience with step-by-step instructions.\n\nUnderstand the development process\n----------------------------------\n\nAt this point, you're ready to get into the real work of developing a Cast app.\n\nBelow are the steps you need to follow:\n\n1. [Register](/cast/docs/registration) your Web and Android TV Receiver apps through the [Google Cast SDK Developer Console](https://cast.google.com/publish/#/overview).\n2. Review the [User Experience Guidelines](/cast/docs/ux_guidelines) to learn how to implement a UI that's consistent with other Cast apps.\n3. Review the [Google Cast app development guides](/cast/docs/overview#apidocs_table).\n4. Review the [API references](/cast/docs/reference).\n5. Develop your Web and/or Android TV Receiver apps.\n6. Regardless of the type of Web Receiver you plan to use, you will:\n 1. Develop your Sender app(s).\n 2. [Test](/cast/docs/testing) your Sender app(s).\n 3. [Test](/cast/docs/testing) your Sender app(s) with your Receiver app(s).\n\nInstall API libraries and configure your toolchain\n--------------------------------------------------\n\n| **Caution:** By accessing download links in the guides, you indicate that you have read and accepted the [Google APIs Terms of Service](https://developers.google.com/terms) and the [Google Cast SDK Additional Developer Terms of Service](/cast/docs/terms).\n\nFollow the instructions for each API that your apps will use:\n\n| | Web | iOS | Android |\n|----------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n| Sender | |-------------------------------------------------------------------------| | [Setup for Developing with the Cast Application](/cast/docs/web_sender) | | [Web Sender API Reference](/cast/docs/reference/web_sender) | | |-------------------------------------------------------------------------------------------------| | [Setup for Developing With the Cast Application Framework (CAF) for iOS](/cast/docs/ios_sender) | | [iOS API Reference](/cast/docs/reference/ios) | | |---------------------------------------------------------------------------------------------------------| | [Setup for Developing with the Cast Application Framework (CAF) for Android](/cast/docs/android_sender) | | [Android API Reference](/android/reference/com/google/android/gms/cast/package-summary) | |\n| Receiver | |----------------------------------------------------| | [Web Receiver Overview](/cast/docs/web_receiver) | | [Web API Reference](/cast/docs/caf_receiver/basic) | | n/a | |--------------------------------------------------------------------------------------------| | [Android TV Receiver Overview](/cast/docs/android_tv_receiver) | | [Android API Reference](/android/reference/com/google/android/gms/cast/tv/package-summary) | |\n| n/a |\n\nDownload Cast icons (optional)\n------------------------------\n\nThe Cast icons are included in the Cast Button UI on each platform as well as in\nthe Android\n[v7mediarouter](http://developer.android.com/tools/support-library/features.html#v7-mediarouter)\nlibrary.\nIf you're implementing a custom Cast button and you need to manually add the\nCast icons, they are available to [download](/static/cast/downloads/cast_icon_material.zip)\nseparately. This zip archive includes versions for Android, iOS, and Web."]]