Home | History | Annotate | Download | only in adt-1
      1 page.title=ADT-1 Developer Kit
      2 page.tags="emote","e-mote","adt"
      3 fullpage=1
      4 nonavpage=true
      5 
      6 @jd:body
      7 
      8 
      9 <div class="wrap" style="width:940px;">
     10 
     11 <h1>ADT-1 Developer Kit</h1>
     12 
     13 <div id="qv-wrapper">
     14 <div id="qv">
     15   <h2>In this document</h2>
     16   <ol>
     17     <li><a href="#faq">Frequently Asked Questions</a>
     18       <ol>
     19         <li><a href="#setup">Device Setup</a></li>
     20         <li><a href="#input">User Input</a></li>
     21         <li><a href="#cast">Google Cast</a></li>
     22         <li><a href="#trouble">Troubleshooting</a></li>
     23       </ol>
     24     </li>
     25     <li><a href="#emote">Android TV Remote Control App</a></li>
     26     <li><a href="#reg-safety">Regulatory Disclosures and Safety</a></li>
     27   </ol>
     28 </div>
     29 </div>
     30 
     31 <p>The ADT-1 Developer Kit is a streaming media player and game controller designed for running
     32 and testing apps built for Android TV. Supplies of ADT-1 are limited and it is intended for
     33 developers who are interested in building new apps or extending their existing apps to run on the
     34 Android TV platform.</p>
     35 
     36 <p class="note">
     37   <strong>Note:</strong> The ADT-1 kit <em>is not required</em> for building and testing apps
     38   for Android TV. You can build apps for TV and test them using an emulator for TV devices. The
     39   Android SDK includes all the software needed to build TV apps and an emulator for running
     40   and testing them. For more information, see the
     41   <a href="{@docRoot}training/tv/start/index.html">Get Started</a> guide for TV apps.
     42 </p>
     43 
     44 <h2 id="faq">ADT-1 Frequently Asked Questions</h2>
     45 
     46 <p>The following information is provided to help set up and use the ADT-1 device.</p>
     47 
     48 
     49 <h3 id="setup">Device Setup</h3>
     50 
     51 <p>
     52   <strong>How do I turn my device on?</strong>
     53 </p>
     54 <p>Plug the included power cable into the back of ADT-1. The device does not have an on/off
     55   switch.</p>
     56 
     57 <p>
     58   <strong>How do I completely turn my device off? </strong>
     59 </p>
     60 <p>Unplug the included power cable from the back of ADT-1. The device does not have an on/off
     61   switch. However, ADT-1 will begin sleeping (daydream) based on user settings in
     62   <strong>Settings &gt; Device &gt; Display &gt; Daydream</strong>.
     63   </p>
     64 
     65 <p>
     66   <strong>How do I connect to the network?</strong>
     67 </p>
     68 <p>ADT-1 has both wireless and Ethernet for connecting to your network. To change your wireless
     69   network, go to <strong>Settings &gt; Device &gt; Wi-Fi</strong>. To use an Ethernet network
     70   connection, simply plug an Ethernet cable (that is connected to your network) into the port on
     71   the back of ADT-1.</p>
     72 
     73 <p>
     74   <strong>How do I use the developer cable?</strong>
     75 </p>
     76 <p>The developer cable has three connectors: a small, male power connector that plugs into the
     77   power port on the back of ADT-1, a standard male USB-A connector that connects your PC, and a
     78   small, female power connector that the included power supply plugs into.</p>
     79 
     80 <p class="note">
     81   <strong>Note:</strong> Make sure you have enabled USB debugging in <strong>Settings &gt;
     82   Preferences &gt; Developer options &gt; Debugging &gt; USB debugging</strong>, so that you can
     83   use the Android Debug Bridge (adb) to connect with the ADT-1 device.
     84 </p>
     85 
     86 <p id="adb-tcp">
     87   <strong>Can I connect without a developer cable?</strong>
     88 </p>
     89 <p>
     90   Yes. The ADT-1 device is enabled for Android Debug Bridge (adb) connections over TCP/IP. To
     91   connect to the ADT-1 device using this method:
     92 </p>
     93 <ol>
     94   <li>Make sure that your development computer and the ADT-1 device are on the same network.</li>
     95   <li>Determine the IP address of the ADT-1 device by navigating to <strong>Settings &gt;
     96     Device &gt; Wi-Fi &gt; your-network-name &gt; Status info</strong>.</li>
     97   <li>Connect to the ADT-1 device using the following adb command:
     98 <pre>
     99 $ adb connect &lt;ip-address-for-adt-1&gt;:4321
    100 </pre>
    101   </li>
    102 </ol>
    103 
    104 <p class="note">
    105   <strong>Note:</strong> Make sure you have enabled USB debugging in <strong>Settings &gt;
    106   Preferences &gt; Developer options &gt; Debugging &gt; USB debugging</strong>, so that you can
    107   use the Android Debug Bridge (adb) to connect with the ADT-1 device.
    108 </p>
    109 
    110 
    111 <h3 id="input">User Input</h3>
    112 
    113 <p>
    114   <strong>How do I put the gamepad that came with my ADT-1 into pairing mode?</strong>
    115 </p>
    116 <p>Press and hold the Back and Home buttons together for about three seconds, until all four
    117   blue LEDs flash together. When the LEDs are flashing, the gamepad is in pairing mode.</p>
    118 
    119 <p>
    120   <strong>How do I use the gamepad with the on-screen keyboard?</strong>
    121 </p>
    122 <p>Use the D-pad or left joystick to move the cursor, and press A to select. Press X to delete a
    123   character, and press Y to insert a space. Also, you can press the right joystick to toggle caps
    124   lock, and press the left joystick to show additional symbols.</p>
    125 
    126 <p>
    127   <strong>Can I control ADT-1 with my phone or tablet?</strong>
    128 </p>
    129 <p>Yes. In order to control the ADT-1 with Android phones or tablets, you can download a remote
    130   control app from the Google Play store. For more information, see <a href="#emote">Android TV
    131   Remote Control App</a>.
    132   </p>
    133 
    134 <p>
    135   <strong>Can I connect a USB keyboard or mouse to ADT-1?</strong>
    136 </p>
    137 <p>Yes, you can connect a USB keyboard or mouse to the USB port on the back of ADT-1.
    138 
    139 <p class="note">
    140   <strong>Note:</strong> The ADT-1 device is not compatible with all manufacturers and models of
    141   these devices. If a particular keyboard or mouse does not work, try a different model.
    142 </p>
    143 
    144 <p>
    145   <strong>How do I connect a Bluetooth device without an input device already attached?</strong>
    146 </p>
    147 <p>You can put ADT-1 into Bluetooth pairing mode using a hardware button. Press the small, round
    148   button on the back of ADT-1 to make it search for Bluetooth devices in pairing mode. If multiple
    149   accessories are found, press the small, round button to select the device you want to pair.
    150   Pairing will happen automatically after a few seconds.
    151 </p>
    152 
    153 <p>
    154   <strong>How do I connect additional Bluetooth accessories?</strong>
    155 <p>
    156 <p>To pair Bluetooth devices to ADT-1 from the user interface, go to <strong>Settings &gt;
    157   Remote &amp; Accessories &gt; Add accessory</strong>
    158 
    159 
    160 <h3 id="cast">Google Cast</h3>
    161 
    162 <p>
    163   <strong>Can I cast to an ADT-1 device?</strong>
    164 <p>
    165 <p>Yes. The ADT-1 includes Google Cast receiver functionality, similar to Chromecast. Since the
    166   ADT-1 is a developer device running a development software release, the Google Cast receiver is
    167   open only to a limited number of apps.</p>
    168 
    169 <p>
    170   <strong>Which Cast apps are supported on ADT-1?</strong>
    171 <p>
    172 <p>As a developer device, the ADT-1 supports casting from only the following apps/websites:</p>
    173 
    174 <ul>
    175   <li>YouTube</li>
    176   <li>Netflix</li>
    177   <li>Google+ Photos</li>
    178   <li>Google Play Movies and TV (Android and iOS only)</li>
    179   <li>Google Play Music</li>
    180   <li>Mirror your Android device screen to ADT-1</li>
    181 </ul>
    182 
    183 <p>Coming soon:</p>
    184 
    185 <ul>
    186   <li>Google Play Movies and TV (Chrome)</li>
    187 </ul>
    188 
    189 <p class="note">
    190   <strong>Note:</strong> When casting from a Chrome browser, you must use Chrome V.36 or higher.
    191   Chrome V.36 is available in beta-channel and is planned to be released soon.
    192 </p>
    193 
    194 <p>
    195   <strong>How do I cast to ADT-1?</strong>
    196 <p>
    197 <p>You cast to an ADT-1 device the same way you do with a Chromecast device. Open the supported
    198   Cast apps or webpages, press the <strong>Cast</strong> button and you should see the ADT-1 as a
    199   Cast target. For more information about on how to cast, see
    200   <a href="http://www.google.com/intl/en/chrome/devices/chromecast/learn.html">Learn How to
    201   Cast</a>.
    202   </p>
    203 
    204 <p>
    205   <strong>Will my Google Cast sender apps work on ADT-1 just like Chromecast?</strong>
    206 <p>
    207 <p>Yes. Your Cast app works on ADT-1 and Android TV products without additional work.<p>
    208 
    209 <p class="note">
    210   <strong>Note:</strong> Your iOS sender app requires the Google Cast iOS API version 2.2.1
    211   or later to work with the ADT-1 device.
    212 </p>
    213 
    214 <p>
    215   <strong>How do I register my ADT-1 in order to run my apps?</strong>
    216 </p>
    217 <ol>
    218   <li>Go to <strong>Settings &gt; Device &gt; Google Cast</strong> and turn on developer support,
    219     allowing the ADT-1 device to send its serial number to Google.</li>
    220   <li>Register your ADT-1 device in the Google Cast Developer Console, using the 12 character
    221     serial number engraved on the back of the ADT-1.</li>
    222 </ol>
    223 
    224 <p>For more Google Cast developer information, see the
    225   <a href="https://developers.google.com/cast/">Cast developer site</a>. Please use the Google Cast
    226   SDK <a href="https://code.google.com/p/google-cast-sdk/issues/list">issue tracker</a> for filing
    227   issues related to Cast. Make sure you mention the ADT-1 device when filing an issue.
    228 </p>
    229 
    230 <p>
    231   <strong>How do I debug my Cast app on ADT-1?</strong>
    232 </p>
    233 <p>Connect your development platform using the power/USB cable, and using a Chrome browser,
    234   navigate to <code>chrome://inspect/#devices</code> to debug the webview.</p>
    235 
    236 
    237 <h3 id="trouble">Troubleshooting</h3>
    238 
    239 <p>
    240   <strong>Why doesn't the on-screen keyboard come up?</strong>
    241 </p>
    242 <p>Enable the keyboard in the device Settings. Go to <strong>Settings &gt; Preferences &gt;
    243   Keyboard &gt; Current keyboard</strong> and choose <strong>Leanback keyboard</strong>.
    244 
    245 <p>
    246   <strong>How do I perform a hardware reboot?</strong>
    247 </p>
    248 <p>Locked it up, huh? No worries. We've done that a few times ourselves. Unplug and replug the
    249   included power cable from the back of ADT-1 to reboot it.
    250 </p>
    251 
    252 <p>
    253   <strong>How do I perform a factory reset?</strong>
    254 </p>
    255 <p class="warning">
    256   <strong>Warning:</strong> This procedure removes all data from the device, including system
    257   data, downloaded apps, app data, and account settings.
    258 </p>
    259 
    260 <p>From the home screen, go to <strong>Settings &gt; Device &gt; Storage &amp; Reset</strong>, and
    261   select <strong>Factory data reset</strong>.
    262 </p>
    263 
    264 <p>
    265   <strong>How do I perform a hardware reset?</strong>
    266 </p>
    267 <p class="warning">
    268   <strong>Warning:</strong> This procedure performs a factory data reset, removing all data from
    269   the device, including system data, downloaded apps, app data, and account settings.
    270 </p>
    271 
    272 <p>Unplug the power cable from the back of ADT-1. Press and hold the small, round button on the
    273   back of ADT-1 as you re-insert the power cable, and continue to hold the small round button. The
    274   LED will begin flashing red for a few seconds, then change to multi-color cycle. When the LED
    275   starts the multi-color cycle, release the small, round button, and ADT-1 boots up. If you release
    276   the button while the LED is flashing red, the device will be in Fastboot mode.</p>
    277 
    278 
    279 <h2 id="emote">Android TV Remote Control App</h2>
    280 
    281 <div class="figure" style="width:250px;margin-top:0">
    282 <img src="{@docRoot}tv/images/android-tv-remote.png" alt="Android TV Remote Screenshots">
    283 </div>
    284 
    285 <p>A remote control app is available for Android phones and tablets that allows you to interact
    286   with the ADT-1 device. This app allows you to switch between D-pad input mode or touchpad mode
    287   to navigate content and play games on a Android TV device. You can also tap the mic button to
    288   start a voice search, or use the keyboard to input text using this app.</p>
    289 
    290 <p>You download the remote control app from the Google Play store using
    291   <a href="https://play.google.com/store/apps/details?id=com.google.android.tv.remote">this
    292   link</a>.
    293 </p>
    294 
    295 <p class="note">
    296   <strong>Note:</strong> your Android phone or tablet must be connected to the same local network
    297   as ADT-1.
    298 </p>
    299 
    300 
    301 <h2 id="reg-safety">Regulatory Disclosures and Safety Information</h2>
    302 
    303 <p>The ADT-1 device comes with important regulatory disclosures and safety information. Please
    304 read this information before using the device:</p>
    305 
    306 <ul>
    307   <li><a href="regulatory.html">Regulatory Disclosures</a></li>
    308   <li><a href="safety.html">Important Safety Information</a></li>
    309 </ul>
    310 
    311 </div> <!-- end.class.wrap -->
    312 
    313 <div class="layout-content-col col-16" style="padding-top:1px">
    314   <!-- layout div, so auto-gen footer sits correctly; do not remove -->
    315 </div>
    316