blob: e4e30a8d25922e959917d299157d7ded7ad41448 [file] [log] [blame]
Dan Morrill3cd199f2009-11-06 14:04:16 -08001page.title=Android Compatibility
Gaurav Mathur800158f2009-10-08 23:50:24 -07002doc.type=compatibility
3@jd:body
Dan Morrilld6765262010-04-28 12:14:40 -07004<p>Android's purpose is to establish an open platform for developers to build
5innovative mobile apps. Three key components work together to realize this
6platform.</p>
7<p>The Android Compatibility Program defines the technical details of Android
8platform and provides tools used by OEMs to ensure that developers’ apps run
9on a variety of devices. The Android SDK provides built-in tools that
10Developers use to clearly state the device features their apps require. And
11Android Market shows apps only to those devices that can properly run
12them.</p>
13<p>These pages describe the Android Compatibility Program and how to get
14access to compatibility information and tools. The latest version of the
Dan Morrilla20bb012010-12-13 10:54:30 -080015Android source code and compatibility program is 2.3, which
16corresponded to the Gingerbread branch.</p>
Dan Morrilld6765262010-04-28 12:14:40 -070017
Dan Morrill98620ee2010-04-13 14:48:25 -070018
Dan Morrill3cd199f2009-11-06 14:04:16 -080019<h2>Why build compatible Android devices?</h2>
20<h3>Users want a customizable device.</h3>
21<p>A mobile phone is a highly personal, always-on, always-present gateway to
22the Internet. We haven't met a user yet who didn't want to customize it by
23extending its functionality. That's why Android was designed as a robust
24platform for running after-market applications.</p>
Gaurav Mathur800158f2009-10-08 23:50:24 -070025
Dan Morrill3cd199f2009-11-06 14:04:16 -080026<h3>Developers outnumber us all.</h3>
Dan Morrill98620ee2010-04-13 14:48:25 -070027<p>No device manufacturer can hope to write all the software that a person could
Dan Morrill3cd199f2009-11-06 14:04:16 -080028conceivably need. We need third-party developers to write the apps users want,
29so the Android Open Source Project aims to make it as easy and open as
30possible for developers to build apps.</p>
Gaurav Mathur800158f2009-10-08 23:50:24 -070031
Dan Morrill3cd199f2009-11-06 14:04:16 -080032<h3>Everyone needs a common ecosystem.</h3>
33<p>Every line of code developers write to work around a particular phone's bug
34is a line of code that didn't add a new feature. The more compatible phones
35there are, the more apps there will be. By building a fully compatible Android
36device, you benefit from the huge pool of apps written for Android, while
37increasing the incentive for developers to build more of those apps.</p>
Gaurav Mathur800158f2009-10-08 23:50:24 -070038
Dan Morrill3cd199f2009-11-06 14:04:16 -080039
40<h2>Android compatibility is free, and it's easy.</h2>
41<p>If you are building a mobile device, you can follow these steps to make
42sure your device is compatible with Android. For more details about the
43Android compatibility program in general, see <a
44href="{@docRoot}compatibility/overview.html">the program overview</a>.</p>
Dan Morrilld6765262010-04-28 12:14:40 -070045<p>Building a compatible device is a three-step process:</p>
Dan Morrill3cd199f2009-11-06 14:04:16 -080046<ol>
Dan Morrill98620ee2010-04-13 14:48:25 -070047 <li><b>Obtain the Android software source code</b><p>This is the
Dan Morrill3cd199f2009-11-06 14:04:16 -080048 <a href="{@docRoot}source/index.html">source code for the Android
49 platform</a>, that you port to your hardware.</p></li>
Dan Morrill98620ee2010-04-13 14:48:25 -070050 <li><b>Comply with Android Compatibility Definition Document (CDD)</b><p>
51 The CDD enumerates the software and hardware requirements of
Dan Morrill3cd199f2009-11-06 14:04:16 -080052 a compatible Android device.</p></li>
53 <li><b>Pass the Compatibility Test Suite (CTS)</b><p>You can use the CTS
Dan Morrilla9788cd2009-11-15 11:49:30 -080054 (included in the Android source code) as an ongoing aid to compatibility
55 during the development process.</p></li>
Dan Morrill3cd199f2009-11-06 14:04:16 -080056</ol>
57
Dan Morrill98620ee2010-04-13 14:48:25 -070058<h2>Joining the Ecosystem</h2>
59<p>Once you've built a compatible device, you may wish to include Android
60Market to provide your users access to the third-party app ecosystem.
61Unfortunately, for a variety of legal and business reasons, we aren't able to
Dan Morrilld6765262010-04-28 12:14:40 -070062automatically license Android Market to all compatible devices. To inquire
Dan Morrill98620ee2010-04-13 14:48:25 -070063about access about Android Market, you can <a
64href="{@docRoot}compatibility/contact-us.html">contact us</a></p>