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
This commit is contained in:
@ -45,6 +45,11 @@
|
||||
<span class="en">Drive</span>
|
||||
</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>
|
||||
|
92
docs/html/google/play-services/cast.jd
Normal file
92
docs/html/google/play-services/cast.jd
Normal file
@ -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>
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
BIN
docs/html/images/google/googlecast.png
Normal file
BIN
docs/html/images/google/googlecast.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
Reference in New Issue
Block a user