summaryrefslogtreecommitdiffstats
path: root/docs/html/google/play-services/cast.jd
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2014-01-27 13:17:45 -0800
committerScott Main <smain@google.com>2014-01-28 19:54:46 -0800
commitcf010ab9c5df8896c57a722137ac3b4306ef1ca5 (patch)
tree4e103b8110b7de0b6355f90a112f252df3080261 /docs/html/google/play-services/cast.jd
parent3781318fefba28699e7713b231c9591bf29eadac (diff)
downloadframeworks_base-cf010ab9c5df8896c57a722137ac3b4306ef1ca5.zip
frameworks_base-cf010ab9c5df8896c57a722137ac3b4306ef1ca5.tar.gz
frameworks_base-cf010ab9c5df8896c57a722137ac3b4306ef1ca5.tar.bz2
add google cast feature page
Change-Id: Ie46b8ecdccea5ab3069176d15562d69aacc2d831
Diffstat (limited to 'docs/html/google/play-services/cast.jd')
-rw-r--r--docs/html/google/play-services/cast.jd99
1 files changed, 99 insertions, 0 deletions
diff --git a/docs/html/google/play-services/cast.jd b/docs/html/google/play-services/cast.jd
new file mode 100644
index 0000000..c6a7fb7
--- /dev/null
+++ b/docs/html/google/play-services/cast.jd
@@ -0,0 +1,99 @@
+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>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, but for
+ more complete developer documentation and user experience guidelines, visit:</p>
+ <p><a href="http://developers.google.com/cast/" class="external-link"
+ >developers.google.com/cast</a></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>Developing with the Google Cast Android APIs requires Google Play services 4.2, which began
+rolling out to devices worldwide on January 29th. Once the update to devices is complete, the
+corresponding <b>Google Play services library (revision 15)</b> will be available for download from
+the <a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a>.</p>
+
+
+ <!--
+ <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>.</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