블로그 이미지
ssun++

카테고리

[전체] (73)
Android (7)
JavaScript (9)
CI (5)
Language (14)
ETC (38)
Total317,159
Today1
Yesterday22

Developers Guide

Android/Cast / 2014.05.27 21:34

원문 : https://developers.google.com/cast/docs/developers


The Google Cast SDK includes API libraries and sample application code to help you cast your applications to the big screen. These APIs are documented in the API references, and the sample code is discussed in the Sender Applications and Receiver Applications overviews.


Google Cast SDK는 API 라이브러리와 큰 화면으로 앱을 cast 할 수 있도록 도와주는 샘플 앱 코드를 포함한다. API는 API references에 문서화 되어있고, 샘플 코드는 Sender ApplicationsReceiver Applications overview에서 논의된다.


Components


Here's what you need to build a Cast app.Here's what you need to build a Cast app.

  • A sender application, written for the Android, iOS, or Chrome platform which uses the following Cast APIs:
  • A receiver application that handles communication between the sender app and the receiver device. You have the following options:
    • The Default Media Receiver presented with the Google Cast branding and styling.
    • The Styled Media Receiver for which you can develop the styles and branding. See Styled Media Receiver.
    • A custom receiver, as described in Custom receiver that implements the Receiver API and handles custom messages from your sender app; it may also interface with the media player types provided through the Media Player Library.

How you implement your receiver may depend upon which media types your application needs to support.


  • receiver 앱은 sender 앱과 receiver 장치 간 커뮤니케이션을 다룬다. 아래와 같은 옵션이 있다.
    • Google Cast 브랜딩과 스타일의 Default Media Receiver
    • Custom receiver에 설명된 것처럼 Receiver API를 구현하고 sender 앱으로부터의 custom 메세지를 다루는 Custom receiver; 또한 Media Player Library를 통해 제공되는 media player type을 인터페이스 할 수 있다.

receiver를 어떻게 구현하는지는 앱이 지원해야 할 media type에 따라 달라진다.


Get Started


  1. First, get set up for development:
    1. Install your Chromecast device and run through the Chromecast Setup instructions.
    2. Run the Chromecast app on your sender device, following the prompts as directed.
    3. Under Privacy, check the box to Send this Chromecast's serial number when checking for updates.
    4. You must select this option in order to enable your receiver device for development.
  2. Review the User Experience Guidelines showing you how to implement a UI that is consistent with other Cast apps.
  3. Download the API libraries and sample apps.
  4. Register your application.
  5. You will receive an app ID to include with your API calls.
  6. Develop your app.
    • Check out the Google Cast app development overviews:
      • Android sender
      • iOS sender
      • Chrome sender
      • Receiver
    • Peruse the API references.


  1. 먼저, 개발을 위한 준비를 한다.
    1. Chromecast 장치를 설치하고 Chromecast Setup 을 따라 한다.
    2. sender 장치에서 Chromecast 앱을 실행시키고, 하라는대로 따라 하자
    3. 개인 정보에서, "업데이트를 확인할 때 Chromecast의 일련번호를 전송" 박스를 체크한다. 
    receiver 장치에서 개발이 가능하게 하기 위해서 이 옵션을 꼭 선택해야 한다.
  2. 다른 Cast 앱들과 일관성 있는 UI를 어떻게 개발하는지 보여주는 User Experience Guidelines 를 확인한다.
  3. API 라이브러리와 샘플 앱을 Download 한다.
  4. 앱을 등록한다.
  5. API 호출 시 필요한 app ID를 받을 것이다.
  6. 앱을 개발한다.
    • Check out the Google Cast app development overviews:


Posted by ssun++

댓글을 달아 주세요

최근에 달린 댓글

최근에 받은 트랙백

글 보관함