diff options
| author | 2014-02-12 01:12:08 +0000 | |
|---|---|---|
| committer | 2014-02-12 01:12:08 +0000 | |
| commit | 11bb34da5f68f70f3350199e3578445d9a1eaae3 (patch) | |
| tree | 4d790744c088c4ba7c6e81aae935efc971eea93a | |
| parent | 0a96a82bbe153ed2337b67435016d35eb434da16 (diff) | |
| parent | 9854f69f75352e473e34410b0b298b7c7f04434a (diff) | |
am 9854f69f: Merge "add google cast feature page edit other feature pages for consistent call to action paragraph and remove \'preview\' notice from Drive page" into klp-docs
* commit '9854f69f75352e473e34410b0b298b7c7f04434a':
  add google cast feature page edit other feature pages for consistent call to action paragraph and remove 'preview' notice from Drive page
| -rw-r--r-- | docs/html/google/google_toc.cs | 5 | ||||
| -rw-r--r-- | docs/html/google/play-services/cast.jd | 92 | ||||
| -rw-r--r-- | docs/html/google/play-services/drive.jd | 6 | ||||
| -rw-r--r-- | docs/html/google/play-services/games.jd | 7 | ||||
| -rw-r--r-- | docs/html/google/play-services/maps.jd | 9 | ||||
| -rw-r--r-- | docs/html/google/play-services/plus.jd | 4 | ||||
| -rw-r--r-- | docs/html/images/google/googlecast.png | bin | 0 -> 118938 bytes | 
7 files changed, 107 insertions, 16 deletions
diff --git a/docs/html/google/google_toc.cs b/docs/html/google/google_toc.cs index c57cf97bbd76..963cfc1517b1 100644 --- a/docs/html/google/google_toc.cs +++ b/docs/html/google/google_toc.cs @@ -46,6 +46,11 @@        </a></div>    </li>    <li class="nav-section"> +    <div class="nav-section-header empty"><a href="<?cs var:toroot?>google/play-services/cast.html"> +          <span class="en">Cast</span> +      </a></div> +  </li> +  <li class="nav-section">      <div class="nav-section-header"><a href="<?cs var:toroot ?>google/play-services/ads.html">        <span class="en">Ads</span></a>      </div> diff --git a/docs/html/google/play-services/cast.jd b/docs/html/google/play-services/cast.jd new file mode 100644 index 000000000000..656f634bd21e --- /dev/null +++ b/docs/html/google/play-services/cast.jd @@ -0,0 +1,92 @@ +page.title=Google Cast Android API +page.tags="chromecast","miracast" +header.hide=1 + +@jd:body + + +<div class="landing-banner"> + +<div class="col-6"> +  <img src="{@docRoot}images/google/googlecast.png" alt=""> +</div> +<div class="col-6"> + +  <h1 itemprop="name" style="margin-bottom:0;">Google Cast Android API</h1> +  <p itemprop="description">Google Cast is a technology that enables multi-screen experiences, which +  allows users to send content from mobile devices and personal computers to their TVs. +  You can use the Google Cast Android API +  to add casting functionality to your Android app so users can view your app content on their +  big screens.</p> + +  <p>Explore the <a href="{@docRoot}reference/com/google/android/gms/cast/package-summary.html" +  >Google Cast Android API reference</a> or visit <a +  href="http://developers.google.com/cast/" class="external-link">developers.google.com/cast</a> +  for more information about how to design and build your app to support Google Cast.</p> +  <p></p> +</div> +</div> + +<div class="landing-docs"> +  <div class="col-6 normal-links"> +    <h3 style="clear:left">Key Developer Features</h3> + +      <h4>Add your own style to a pre-built receiver app</h4> +      <p>Adding support for Google Cast requires that you provide a companion app on the +      Google Cast device, known as the receiver app. If your app streams audio or video content +      using one of several supported media types, then you can create a receiver app with your +      own style and branding by creating nothing more than a CSS file. +      <br/><a href="http://developers.google.com/cast/docs/styled_receiver" class="external-link" +      >Create a Styled Media Receiver</a></p> + +      <h4>Build an entirely custom receiver app</h4> +      <p>If the Styled Media Receiver does not provide the UI components required for your +      receiver app or does not support the media types your app requires, you can build your +      own receiver app as a web page using the JavaScript Receiver API. +      <br/><a href="http://developers.google.com/cast/docs/styled_receiver" class="external-link" +      >Create a Custom Receiver</a></p> + +      <h4>Add playback controls to your app</h4> +      <p>To allow users to control playback on the receiver app, you can add a +      controller interface to your app on Android, iOS, and Chrome. The client app on these devices +      is known as the sender app and can perform a variety of actions using the Google Cast APIs +      such as start and pause playback and control the volume on the Google Cast device. +      <br/><a href="http://developers.google.com/cast/docs/sender_apps" class="external-link" +      >Create a Sender App</a></p> +  </div> + + +  <div class="col-6 normal-links"> +    <h3 style="clear:left">Getting Started</h3> +    <h4>1. Get the Google Play services SDK</h4> + +    <p>The Google Cast Android APIs are part of the Google Play services platform.</p> +    <p>To get started, <a href="{@docRoot}google/play-services/setup.html">set up +      the Google Play services SDK</a> on your development machine and be sure your test device has +      Google Play services 4.2 (or higher) installed.</p> + +    <h4>2. Register your app</h4> +    <p>Before you can develop and test apps on your own Google Cast device, +    you need to acquire an app ID for your API calls and register your Google Cast device +    (such as a Chromecast) as a development device. For details, read the +    <a href="http://developers.google.com/cast/docs/registration" +    class="external-link">Registration</a> guide.</p> + +    <h4>3. Design the Android app UI</h4> +    <p>To provide the perfect user experience when casting your content to TVs, be sure your +    app follows all the recommendations in the <a class="external-link" +    href="https://developers.google.com/cast/docs/design_checklist" +    >Design Checklist</a>.</p> + +    <h4>4. Start developing</h4> +    <p>Read the <a class="external-link" +    href="https://developers.google.com/cast/docs/developers">Developer's Guide</a> +    to learn how to implement the receiver app and how to send it commands from your Android app. +    </p> + +    <p>For quick access while developing your Android app, the +    <a href="{@docRoot}reference/com/google/android/gms/cast/package-summary.html">Google Cast +    Android API reference</a> is available here on developer.android.com.</p> + +  </div> +</div>
\ No newline at end of file diff --git a/docs/html/google/play-services/drive.jd b/docs/html/google/play-services/drive.jd index 239b65298ef5..e9662e675104 100644 --- a/docs/html/google/play-services/drive.jd +++ b/docs/html/google/play-services/drive.jd @@ -136,12 +136,6 @@ header.hide=1            "external-link" href=            "https://developers.google.com/drive/android">developers.google.com/drive</a>.          </p> -        <p class="caution"> -          The Google Drive Android API is currently in <strong>developer -          preview</strong>. Applications compiled using this version of the API will -          continue to operate on devices using future versions of Google Play services; -          however, changes to the API are expected in future releases. -        </p>        </div>      </div>      
\ No newline at end of file diff --git a/docs/html/google/play-services/games.jd b/docs/html/google/play-services/games.jd index cf97d05bbe17..94f6715a9469 100644 --- a/docs/html/google/play-services/games.jd +++ b/docs/html/google/play-services/games.jd @@ -17,9 +17,10 @@ header.hide=1    Let players sign in using their Google+ identities and share their gaming experience with    friends.    </p> -  <p>Visit <a class="external-link" -    href="https://developers.google.com/games/services/">developers.google.com/games/services</a> -    for more information about integrating game services into your app. +  <p>Explore the <a href="{@docRoot}reference/com/google/android/gms/games/package-summary.html">Google +Play Games Android API reference</a> or visit <a class="external-link" href= +"https://developers.google.com/games/services/">developers.google.com/games/services</a> for more +information about integrating game services into your app.  </p>  </div>  </div> diff --git a/docs/html/google/play-services/maps.jd b/docs/html/google/play-services/maps.jd index b611f367eb7e..68a84614d987 100644 --- a/docs/html/google/play-services/maps.jd +++ b/docs/html/google/play-services/maps.jd @@ -17,12 +17,11 @@ header.hide=1    Google. Identify locations with <b>custom markers</b>, augment the map data    with <b>image overlays</b>, embed <b>one or more maps</b> as fragments,    and much more.</p> -  <p>The <a +  <p>Explore the <a  href="{@docRoot}reference/com/google/android/gms/maps/package-summary.html" ->Google Maps Android API reference</a> is available here on developer.android.com, but for more -information about adding maps to your app, visit:</p> -  <p><a class="external-link" -href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a></p> +>Google Maps Android API reference</a> or visit <a class="external-link" +href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a> +for more information about adding maps to your app.</p>  </div>  </div> diff --git a/docs/html/google/play-services/plus.jd b/docs/html/google/play-services/plus.jd index 1650ec2398e6..95c9e0ebdbb3 100644 --- a/docs/html/google/play-services/plus.jd +++ b/docs/html/google/play-services/plus.jd @@ -17,8 +17,8 @@ header.hide=1    with the same credentials they use on Google every day. Once a user signs in with Google,    you can create more engaging experiences and drive usage of your app.</p> -  <p>Check out the <a href="{@docRoot}reference/com/google/android/gms/plus/package-summary.html" ->Google+ Android API reference</a> and visit <a class="external-link" +  <p>Explore the <a href="{@docRoot}reference/com/google/android/gms/plus/package-summary.html" +>Google+ Android API reference</a> or visit <a class="external-link"  href="https://developers.google.com/+/mobile/android/">developers.google.com/+</a> for more  information about integrating Google+ into your app.</p>  </div> diff --git a/docs/html/images/google/googlecast.png b/docs/html/images/google/googlecast.png Binary files differnew file mode 100644 index 000000000000..44bd4478fdf4 --- /dev/null +++ b/docs/html/images/google/googlecast.png  |