blob: a1c37aeeb85382f9967badf6609ee18591e3d8c9 [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 Morrill3cd199f2009-11-06 14:04:16 -08004<p>Android is an open source product, and anyone can use the source code to build
Dan Morrilla9788cd2009-11-15 11:49:30 -08005devices. The purpose of the Android compatibility program is to help Android
Dan Morrill98620ee2010-04-13 14:48:25 -07006device implementations remain compatible with apps.</p>
Dan Morrilla9788cd2009-11-15 11:49:30 -08007<p>A device is considered compatible if existing and new third-party
8applications run correctly on it. Poor device implementations that change APIs
9or alter behaviors will break these apps and so are not compatible. The
Dan Morrill98620ee2010-04-13 14:48:25 -070010Android Compatibility Program provides information and tools that device
11implementers use to ensure that their devices are Android-compatible.</p>
Dan Morrilla9788cd2009-11-15 11:49:30 -080012<p>The latest version of the Android source code and compatibility program is
Dan Morrill98620ee2010-04-13 14:48:25 -0700132.1, which roughly corresponded to the Eclair branch.</p>
14
Dan Morrill3cd199f2009-11-06 14:04:16 -080015<h2>Why build compatible Android devices?</h2>
16<h3>Users want a customizable device.</h3>
17<p>A mobile phone is a highly personal, always-on, always-present gateway to
18the Internet. We haven't met a user yet who didn't want to customize it by
19extending its functionality. That's why Android was designed as a robust
20platform for running after-market applications.</p>
Gaurav Mathur800158f2009-10-08 23:50:24 -070021
Dan Morrill3cd199f2009-11-06 14:04:16 -080022<h3>Developers outnumber us all.</h3>
Dan Morrill98620ee2010-04-13 14:48:25 -070023<p>No device manufacturer can hope to write all the software that a person could
Dan Morrill3cd199f2009-11-06 14:04:16 -080024conceivably need. We need third-party developers to write the apps users want,
25so the Android Open Source Project aims to make it as easy and open as
26possible for developers to build apps.</p>
Gaurav Mathur800158f2009-10-08 23:50:24 -070027
Dan Morrill3cd199f2009-11-06 14:04:16 -080028<h3>Everyone needs a common ecosystem.</h3>
29<p>Every line of code developers write to work around a particular phone's bug
30is a line of code that didn't add a new feature. The more compatible phones
31there are, the more apps there will be. By building a fully compatible Android
32device, you benefit from the huge pool of apps written for Android, while
33increasing the incentive for developers to build more of those apps.</p>
Gaurav Mathur800158f2009-10-08 23:50:24 -070034
Dan Morrill3cd199f2009-11-06 14:04:16 -080035
36<h2>Android compatibility is free, and it's easy.</h2>
37<p>If you are building a mobile device, you can follow these steps to make
38sure your device is compatible with Android. For more details about the
39Android compatibility program in general, see <a
40href="{@docRoot}compatibility/overview.html">the program overview</a>.</p>
41<p>Building a compatible device is a four-step process:</p>
42<ol>
Dan Morrill98620ee2010-04-13 14:48:25 -070043 <li><b>Obtain the Android software source code</b><p>This is the
Dan Morrill3cd199f2009-11-06 14:04:16 -080044 <a href="{@docRoot}source/index.html">source code for the Android
45 platform</a>, that you port to your hardware.</p></li>
Dan Morrill98620ee2010-04-13 14:48:25 -070046 <li><b>Comply with Android Compatibility Definition Document (CDD)</b><p>
47 The CDD enumerates the software and hardware requirements of
Dan Morrill3cd199f2009-11-06 14:04:16 -080048 a compatible Android device.</p></li>
49 <li><b>Pass the Compatibility Test Suite (CTS)</b><p>You can use the CTS
Dan Morrilla9788cd2009-11-15 11:49:30 -080050 (included in the Android source code) as an ongoing aid to compatibility
51 during the development process.</p></li>
Dan Morrill3cd199f2009-11-06 14:04:16 -080052</ol>
53
Dan Morrill98620ee2010-04-13 14:48:25 -070054<h2>Joining the Ecosystem</h2>
55<p>Once you've built a compatible device, you may wish to include Android
56Market to provide your users access to the third-party app ecosystem.
57Unfortunately, for a variety of legal and business reasons, we aren't able to
58automatically license Android Market to any compatible device. To inquire
59about access about Android Market, you can <a
60href="{@docRoot}compatibility/contact-us.html">contact us</a></p>