Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 1 | page.title=Android Compatibility |
| 2 | @jd:body |
| 3 | |
| 4 | <!-- |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 5 | Copyright 2015 The Android Open Source Project |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 6 | |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 18 | --> |
Clay Murphy | 468ba57 | 2015-04-13 18:25:11 -0700 | [diff] [blame] | 19 | <div id="qv-wrapper"> |
| 20 | <div id="qv"> |
| 21 | <h2>In this document</h2> |
| 22 | <ol id="auto-toc"> |
| 23 | </ol> |
| 24 | </div> |
| 25 | </div> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 26 | |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 27 | <p>Android's purpose is to establish an open platform for developers to build |
| 28 | innovative apps.</p> |
| 29 | <ul> |
| 30 | <li>The Android Compatibility program defines technical details of the |
| 31 | Android platform and provides tools for OEMs to ensure developer applications |
| 32 | run on a variety of devices.</li> |
| 33 | <li>The Android SDK provides built-in tools for developers to clearly state the |
| 34 | device features requires by their applications. |
| 35 | <li>Google Play shows applications only to those devices that can properly run |
| 36 | those applications.</li></li> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 37 | |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 38 | <h2 id="why-build-compatible-android-devices">Why build compatible Android |
| 39 | devices?</h2> |
| 40 | |
| 41 | <h3 id="users-want-a-customizable-device">Users want customizable devices</h3> |
Clay Murphy | 468ba57 | 2015-04-13 18:25:11 -0700 | [diff] [blame] | 42 | |
| 43 | <div class="figure"> |
| 44 | <img src="images/compat-ecosystem.png" alt="Compatibility ecosystem" id="figure1" /> |
| 45 | <p class="img-caption"> |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 46 | <strong>Figure 1.</strong> The Android ecosystem thrives with device compatibility |
Clay Murphy | 468ba57 | 2015-04-13 18:25:11 -0700 | [diff] [blame] | 47 | </p> |
| 48 | </div> |
| 49 | |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 50 | <p>A mobile phone is a highly personal, always-on, always-present gateway to |
| 51 | the Internet. We haven't met a user yet who didn't want to customize it by |
| 52 | extending its functionality. That's why Android was designed as a robust |
Clay Murphy | 710b665 | 2014-01-06 16:04:37 -0800 | [diff] [blame] | 53 | platform for running aftermarket applications.</p> |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 54 | |
| 55 | <h3 id="developers-outnumber-us-all">Developers outnumber us all</h3> |
| 56 | <p>No device manufacturer can write all the software a user could conceivably |
| 57 | need. We need third-party developers to write the apps users want, so the |
| 58 | Android Open Source Project (AOSP) aims to make application development as easy |
| 59 | and open as possible.</p> |
| 60 | |
| 61 | <h3 id="everyone-needs-a-common-ecosystem">Everyone needs a common ecosystem</h3> |
| 62 | <p>Every line of code developers write to work around a bug is a line of code |
| 63 | that didn't add a new feature. The more compatible mobile devices are, the more |
| 64 | applications we'll have to run on those devices. By building a fully compatible |
| 65 | Android device, you benefit from the huge pool of apps written for Android while |
| 66 | increasing the incentive for developers to build more apps.</p> |
| 67 | |
| 68 | <h2 id="android-compatibility-is-free-and-its-easy">Android compatibility is |
| 69 | free, and it's easy</h2> |
| 70 | <p>To build an Android-compatible mobile device, follow this three-step |
| 71 | process:</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 72 | <ol> |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 73 | <li><em>Obtain the <a href="{@docRoot}source/index.html">Android software source |
| 74 | code</a></em>. This is the source code for the Android platform that you port |
| 75 | to your hardware.</li> |
| 76 | <li><em>Comply with the <a href="{@docRoot}compatibility/android-cdd.pdf">Android |
| 77 | Compatibility Definition Document (CDD)</a></em>. The CDD enumerates the |
| 78 | software and hardware requirements of a compatible Android device.</li> |
| 79 | <li><em>Pass the <a href="{@docRoot}compatibility/cts-intro.html">Compatibility |
| 80 | Test Suite (CTS)</a></em>. Use the CTS as an ongoing aid to evaluate |
| 81 | compatibility during the development process.</li> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 82 | </ol> |
| 83 | |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 84 | <p>After complying with the CDD and passing the CTS, your device is Android |
| 85 | compatible, meaning Android apps in the ecosystem provide a consistent |
| 86 | experience when running on your device. For details about the Android |
| 87 | compatibility program, see the <a href="overview.html">program overview</a>.</p> |
Clay Murphy | b59afd7 | 2015-01-30 11:16:20 -0800 | [diff] [blame] | 88 | |
Heidi von Markham | 06c50bf | 2015-05-14 12:21:57 -0700 | [diff] [blame] | 89 | <h2 id="licensing-gms">Licensing Google Mobile Services (GMS)</h2> |
| 90 | <p>After building an Android compatible device, consider licensing Google Mobile |
| 91 | Services (GMS), Google’s proprietary suite of apps (Google Play, YouTube, Google |
| 92 | Maps, Gmail, and more ) that run on top of Android. GMS is not part of the |
| 93 | Android Open Source Project and is available only through a license with Google. |
| 94 | For information on how to request a GMS license, see |
| 95 | <a href="contact-us.html">Contact Us</a>.</p> |