blob: b3c375a5fd374e75efdca1ea27b97170b1cac614 [file] [log] [blame]
Robert Ly35f2fda2013-01-29 16:27:05 -08001page.title=Android Compatibility
2@jd:body
3
4<!--
Clay Murphyb59afd72015-01-30 11:16:20 -08005 Copyright 2015 The Android Open Source Project
Robert Ly35f2fda2013-01-29 16:27:05 -08006
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
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
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.
18-->
19
20<p>Android's purpose is to establish an open platform for developers to build innovative apps.
Clay Murphy710b6652014-01-06 16:04:37 -080021The Android Compatibility program defines the technical details of the Android platform and provides
Robert Ly35f2fda2013-01-29 16:27:05 -080022tools used by OEMs to ensure that developers' apps run on a variety of devices. The Android SDK
23provides built-in tools that developers use to clearly state the device features their apps
24require. And Google Play shows apps only to those devices that can properly run them.
25</p>
26
27<h2 id="why-build-compatible-android-devices">Why build compatible Android devices?</h2>
28<h3 id="users-want-a-customizable-device">Users want a customizable device.</h3>
29<p>A mobile phone is a highly personal, always-on, always-present gateway to
30the Internet. We haven't met a user yet who didn't want to customize it by
31extending its functionality. That's why Android was designed as a robust
Clay Murphy710b6652014-01-06 16:04:37 -080032platform for running aftermarket applications.</p>
Robert Ly35f2fda2013-01-29 16:27:05 -080033<h3 id="developers-outnumber-us-all">Developers outnumber us all.</h3>
34<p>No device manufacturer can hope to write all the software that a person could
Clay Murphy710b6652014-01-06 16:04:37 -080035conceivably need. We need third-party developers to write the apps users want;
Robert Ly35f2fda2013-01-29 16:27:05 -080036so the Android Open Source Project aims to make it as easy and open as
37possible for developers to build apps.</p>
38<h3 id="everyone-needs-a-common-ecosystem">Everyone needs a common ecosystem.</h3>
39<p>Every line of code developers write to work around a particular phone's bug
40is a line of code that didn't add a new feature. The more compatible phones
41there are, the more apps there will be. By building a fully compatible Android
42device, you benefit from the huge pool of apps written for Android, while
43increasing the incentive for developers to build more of those apps.</p>
44<h2 id="android-compatibility-is-free-and-its-easy">Android compatibility is free, and it's easy.</h2>
45<p>If you are building a mobile device, you can follow these steps to make
46sure your device is compatible with Android. For more details about the
47Android compatibility program in general, see <a href="overview.html">the program overview</a>.</p>
48<p>Building a compatible device is a three-step process:</p>
49<ol>
50<li>
Clay Murphy710b6652014-01-06 16:04:37 -080051<p><em>Obtain the <a href="{@docRoot}source/index.html">Android software source
52code</a></em>.
53 This is the source code for the Android platform that you port to your hardware.</p>
Robert Ly35f2fda2013-01-29 16:27:05 -080054</li>
55<li>
Clay Murphy710b6652014-01-06 16:04:37 -080056<p><em>Comply with the <a href="{@docRoot}compatibility/android-cdd.pdf">Android
57Compatibility Definition Document (CDD)</a></em>.
Robert Ly35f2fda2013-01-29 16:27:05 -080058 The CDD enumerates the software and hardware requirements of a compatible Android device.</p>
59</li>
60<li>
Clay Murphy710b6652014-01-06 16:04:37 -080061<p><em>Pass the <a href="{@docRoot}compatibility/cts-intro.html">Compatibility
62Test Suite (CTS)</a></em>.
63 Use the CTS as an ongoing aid to compatibility during the development process.</p>
Robert Ly35f2fda2013-01-29 16:27:05 -080064</li>
65</ol>
66
Clay Murphyb59afd72015-01-30 11:16:20 -080067<p>After complying with the CDD and passing the CTS, your device is now Android
68compatible. Android apps in the ecosystem will have a consistent experience on
69your device.</p>
70
71<h2 id="licensing-gms">Licensing Google Mobile Services</h2>
72<p>If you've built an Android compatible device, you may wish to inquire about
73licensing Google’s proprietary suite of apps that run on top of Android -
74Google Mobile Services (GMS, which include Google Play, YouTube, Google Maps,
75Gmail, and more). Google Mobile Services is not part of the Android Open Source
76Project and is available only through a license with Google. Please visit the
77‘contact’ us section for more information on how to inquire about a GMS
78license.</p>