Home | History | Annotate | Download | only in source
      1 <html devsite>
      2   <head>
      3     <title>Frequently Asked Questions</title>
      4     <meta name="project_path" value="/_project.yaml" />
      5     <meta name="book_path" value="/_book.yaml" />
      6   </head>
      7   <body>
      8   <!--
      9       Copyright 2017 The Android Open Source Project
     10 
     11       Licensed under the Apache License, Version 2.0 (the "License");
     12       you may not use this file except in compliance with the License.
     13       You may obtain a copy of the License at
     14 
     15           http://www.apache.org/licenses/LICENSE-2.0
     16 
     17       Unless required by applicable law or agreed to in writing, software
     18       distributed under the License is distributed on an "AS IS" BASIS,
     19       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     20       See the License for the specific language governing permissions and
     21       limitations under the License.
     22   -->
     23 
     24 
     25 
     26 <a name="top"></a>
     27 <p>Please see the <a
     28 href="http://developer.android.com/guide/faq/index.html">Android FAQs</a> on
     29 developer.android.com for answers to other common questions.
     30 
     31 <h2 id="open-source">Open Source</h2>
     32 <h3 id="what-is-the-android-open-source-project">What is the Android Open Source Project?</h3>
     33 <p>We use the phrase "Android Open Source Project" or "AOSP" to refer to the
     34 people, the processes, and the source code that make up Android.</p>
     35 <p>The people oversee the project and develop the actual source code. The
     36 processes refer to the tools and procedures we use to manage the development
     37 of the software. The net result is the source code you can use to build
     38 mobile phones and other devices.</p>
     39 <h3 id="why-did-we-open-the-android-source-code">Why did we open the Android source code?</h3>
     40 <p>Google started the Android project in response to our own experiences
     41 launching mobile apps. We wanted to make sure there would always be an
     42 open platform available for carriers, OEMs, and developers to use to make
     43 their innovative ideas a reality. We also wanted to make sure there was no
     44 central point of failure, so no single industry player could restrict or control
     45 the innovations of any other.  The single most important goal of the Android
     46 Open Source Project (AOSP) is to make sure that the open source Android
     47 software is implemented as widely and compatibly as possible, to everyone's
     48 benefit.</p>
     49 <h3 id="what-kind-of-open-source-project-is-android">What kind of open source project is Android?</h3>
     50 <p>Google oversees the development of the core Android open source platform
     51 and works to create robust developer and user communities. For the most part,
     52 the Android source code is licensed under the permissive Apache Software
     53 License 2.0, rather than a "copyleft" license. The main reason for this is
     54 because our most important goal is widespread adoption of the software, and
     55 we believe that the ASL2.0 license best achieves that goal.</p>
     56 <p>You can find more information on this topic on our <a href="/source/licenses.html">Licenses</a> page.</p>
     57 <h3 id="why-is-google-in-charge-of-android">Why is Google in charge of Android?</h3>
     58 <p>Launching a software platform is complex. Openness is vital to the
     59 long-term success of a platform, since openness is required to attract
     60 investment from developers and ensure a level playing field. However, the
     61 platform itself must also be a compelling product to users.</p>
     62 <p>That's why Google has committed the professional engineering resources
     63 necessary to ensure that Android is a fully competitive software platform.
     64 Google treats the Android project as a full-scale product development
     65 operation and strikes the business deals necessary to make sure great
     66 devices running Android actually make it to market.</p>
     67 <p>By making sure Android is a success with users, we help ensure the
     68 vitality of Android as a platform and as an open source project. After all,
     69 who wants the source code to an unsuccessful product?</p>
     70 <p>Google's goal is to ensure a successful ecosystem around Android. Of course, no
     71 one is required to participate. We opened the Android source code
     72 so anyone can modify and distribute the software to meet their own needs.</p>
     73 <h3 id="what-is-googles-overall-strategy-for-android-product-development">What is Google's overall strategy for Android product development?</h3>
     74 <p>We aim to release great devices into a competitive marketplace. We
     75 then incorporate the innovations and enhancements we made into the core
     76 platform as the next version.</p>
     77 <p>In practice, this means the Android engineering team typically focuses
     78 on a small number of "flagship" devices and develops the next version of
     79 the Android software to support those product launches. These flagship
     80 devices absorb much of the product risk and blaze a trail for the broad OEM
     81 community, who follow up with many more devices that take advantage of the
     82 new features. In this way, we make sure the Android platform evolves
     83 according to the actual needs of real-world devices.</p>
     84 <h3 id="how-is-the-android-software-developed">How is the Android software developed?</h3>
     85 <p>Each platform version of Android (such as 1.5, 1.6, and so on) has a
     86 corresponding branch in the open source tree. At any given moment, the most
     87 recent such branch will be considered the "current stable" branch version.
     88 This current stable branch is the one that manufacturers port to their
     89 devices. This branch is kept suitable for release at all times.</p>
     90 <p>Simultaneously, there is also a "current experimental" branch, which is
     91 where speculative contributions, such as large next-generation features, are
     92 developed. Bug fixes and other contributions can be included in the current
     93 stable branch from the experimental branch as appropriate.</p>
     94 <p>Finally, Google works on the next version of the Android platform in tandem
     95 with developing a flagship device. This branch pulls in changes from the
     96 experimental and stable branches as appropriate.</p>
     97 <p>You can find more information on this topic at our <a href="/source/code-lines.html">Codelines,
     98 Branches and Releases</a> page.</p>
     99 <h3 id="why-are-parts-of-android-developed-in-private">Why are parts of Android developed in private?</h3>
    100 <p>It typically takes more than a year to bring a device to market. And, of course,
    101 device manufacturers want to ship the latest software they can. Developers,
    102 meanwhile, don't want to constantly track new versions of the
    103 platform when writing apps. Both groups experience a tension between
    104 shipping products and not wanting to fall behind.</p>
    105 <p>To address this, some parts of the next version of Android including the
    106 core platform APIs are developed in a private branch. These APIs constitute
    107 the next version of Android. Our aim is to focus attention on the current
    108 stable version of the Android source code while we create the next version
    109 of the platform. This allows developers
    110 and OEMs to use a single version without tracking unfinished
    111 future work just to keep up. Other parts of the Android system that aren't
    112 related to application compatibility are developed in the open, however.
    113 It's our intention to move more of these parts to open development over
    114 time.</p>
    115 <h3 id="when-are-source-code-releases-made">When are source code releases made?</h3>
    116 <p>When they are ready. Releasing the source code is a fairly complex process.
    117 Some parts of Android are developed in the open,
    118 so that source code is always available. Other parts are developed first in
    119 a private tree, and that source code is released when the next platform
    120 version is ready.</p>
    121 <p>In some releases, core platform APIs will be ready far enough in advance
    122 that we can push the source code out for an early look prior to the
    123 device's release; however in other releases, this isn't possible. In all cases, we
    124 release the platform source when we feel the version has stabilized enough,
    125 and when the development process permits.</p>
    126 <h3 id="what-is-involved-in-releasing-the-source-code-for-a-new-android-version">What is involved in releasing the source code for a new Android version?</h3>
    127 <p>Releasing the source code for a new version of the Android platform is a
    128 significant process. First, the software gets built into a system image for
    129 a device and put through various forms of certification, including
    130 government regulatory certification for the regions the phones will be
    131 deployed. It also goes through operator testing. This is an important phase
    132 of the process, since it helps shake out a lot of software bugs.</p></p>
    133 <p>Once the release is approved by the regulators and operators, the
    134 manufacturer begins mass producing devices, and we turn to releasing the
    135 source code.</p>
    136 <p>Simultaneous to mass production, the Google team kicks off several efforts
    137 to prepare the open source release. These efforts include making final API changes,
    138 updating documentation (to reflect any modifications that were made during
    139 qualification testing, for example), preparing an SDK for the new version,
    140 and launching the platform compatibility information.</p>
    141 <p>Also included is a final legal sign-off to release the code into open
    142 source. Just as open source contributors are required to sign a Contributors
    143 License Agreement attesting to their intellectual property ownership of their
    144 contribution, Google too must verify it is clear to make contributions.</p>
    145 <p>From the time mass production begins, the software release process
    146 usually takes around a month. This often places source code releases
    147 around the same time the devices reach users.</p>
    148 <h3 id="how-does-the-aosp-relate-to-the-android-compatibility-program">How does the AOSP relate to the Android Compatibility Program?</h3>
    149 <p>The Android Open Source Project maintains the Android software, and
    150 develops new versions. Since it's open source, this software can be used for
    151 any purpose, including to develop devices that are not compatible with other
    152 devices based on the same source.</p>
    153 <p>The function of the Android Compatibility Program is to define a baseline
    154 implementation of Android that is compatible with third-party apps written
    155 by developers. Devices that are "Android compatible" may participate in the
    156 Android ecosystem, including Google Play; devices that don't meet the
    157 compatibility requirements exist outside that ecosystem.</p>
    158 <p>In other words, the Android Compatibility Program is how we separate
    159 "Android-compatible devices" from devices that merely run derivatives of the
    160 source code. We welcome all uses of the Android source code, but only
    161 Android-compatible devices -- as defined and tested by the Android
    162 Compatibility Program -- may participate in the Android ecosystem.</p>
    163 <h3 id="how-can-i-contribute-to-android">How can I contribute to Android?</h3>
    164 <p>There are a number of ways you can contribute to Android. You can report
    165 bugs, write apps for Android, or contribute source code to the Android
    166 Open Source Project.</p>
    167 <p>There are some limits to the kinds of code contributions we are willing or
    168 able to accept. For instance, someone might want to contribute an
    169 alternative application API, such as a full C++-based environment. We would
    170 decline that contribution, since Android encourages applications to be run
    171 in the ART runtime. Similarly, we won't accept contributions such as GPL
    172 or LGPL libraries that are incompatible with our licensing goals.</p>
    173 <p>We encourage those interested in contributing source code to contact us
    174 via the channels listed on the <a href="/source/community.html">
    175 Android Community</a> page prior to beginning any work. You can find more
    176 information on this topic from the <a href="/source/contributing.html">
    177 Contributing</a> page.</p>
    178 <h3 id="how-do-i-become-an-android-committer">How do I become an Android committer?</h3>
    179 <p>The Android Open Source Project doesn't really have a notion of a
    180 "committer". All contributions -- including those authored by Google
    181 employees -- go through a web-based system known as "gerrit" that's part of
    182 the Android engineering process. This system works in tandem with the git
    183 source code management system to cleanly manage source code
    184 contributions.</p>
    185 <p>Once submitted, changes need to be accepted by a designated Approver.
    186 Approvers are typically Google employees, but the same approvers are
    187 responsible for all submissions, regardless of origin.</p>
    188 <p>You can find more information on this topic at the <a href="submit-patches.html">Submitting Patches</a> page.</p>
    189 <a href="#top">Back to top</a>
    190 <h2 id="compatibility">Compatibility</h2>
    191 <h3 id="what-does-compatibility-mean">What does "compatibility" mean?</h3>
    192 <p>We define an "Android-compatible device" as one that can run any
    193 application written by third-party developers using the Android SDK and NDK.
    194 We use this as a filter to separate devices that can participate in the
    195 Android app ecosystem and those that cannot. Devices that are properly
    196 compatible can seek approval to use the Android trademark. Devices that are
    197 not compatible are merely derived from the Android source code and may not
    198 use the Android trademark.</p>
    199 <p>In other words, compatibility is a prerequisite to participate in the
    200 Android apps ecosystem. Anyone is welcome to use the Android source code.
    201 But if the device isn't compatible, it's not considered part of the Android
    202 ecosystem.</p>
    203 <h3 id="what-is-the-role-of-google-play-in-compatibility">What is the role of Google Play in compatibility?</h3>
    204 <p>Devices that are Android compatible may seek to license the Google Play
    205 client software. This allows them to become part of the Android app
    206 ecosystem, enabling their users to download developers' apps from a catalog
    207 shared by all compatible devices. This option isn't available to devices
    208 that aren't compatible.</p>
    209 <h3 id="what-kinds-of-devices-can-be-android-compatible">What kinds of devices can be Android compatible?</h3>
    210 <p>The Android software can be ported to many different kinds of devices,
    211 including some on which third-party apps won't run properly. The
    212 <a href="/compatibility/index.html">Android Compatibility Definition
    213 Document</a> (CDD) spells out the specific device configurations that will be
    214 considered compatible.</p>
    215 <p>For example, though the Android source code could be ported to run on a
    216 phone that doesn't have a camera, the CDD requires all phones to have a camera.
    217 This allows developers to rely on a consistent set of capabilities when writing their apps.</p>
    218 <p>The CDD will evolve over time to reflect market realities. For instance,
    219 version 1.6 of the CDD supports only cell phones. But the 2.1 CDD allows devices
    220 to omit telephony hardware, enabling non-phone devices such as tablet-style music
    221 players to be compatible. As we make these changes, we will also
    222 augment Google Play to allow developers to retain control over where
    223 their apps are available. To continue the telephony example, an app that
    224 manages SMS text messages would not be useful on a media player, so Google
    225 Play allows the developer to restrict that app exclusively to phone
    226 devices.</p>
    227 <h3 id="if-my-device-is-compatible-does-it-automatically-have-access-to-google-play-and-branding">If my device is compatible, does it automatically have access to Google Play and branding?</h3>
    228 <p>Google Play is a service operated by Google. Achieving compatibility is
    229 a prerequisite for obtaining access to the Google Play software and branding.
    230 Device manufacturers should contact <a
    231 href="mailto:android-partnerships (a] google.com">android-partnerships (a] google.com</a>
    232 to obtain access to Google Play. While we read every email that is received at
    233 this alias, we cannot respond to each of them. Please note, we will be in
    234 contact if we can help you.</p>
    235 <h3 id="if-i-am-not-a-manufacturer-how-can-i-get-google-play">If I am not a manufacturer, how can I get Google Play?</h3>
    236 <p>Google Play is only licensed to handset manufacturers shipping devices.
    237 For questions about specific cases, contact <a
    238 href="mailto:android-partnerships (a] google.com">android-partnerships (a] google.com</a>.</p>
    239 <h3 id="how-can-i-get-access-to-the-google-apps-for-android-such-as-maps">How can I get access to the Google apps for Android, such as Maps?</h3>
    240 <p>The Google apps for Android, such as YouTube, Google Maps,
    241 Gmail, and more, are Google properties that are not part of Android and
    242 are licensed separately.  Contact <a
    243 href="mailto:android-partnerships (a] google.com">android-partnerships (a] google.com</a>
    244 for inquiries related to those apps.</p>
    245 <h3 id="is-compatibility-mandatory">Is compatibility mandatory?</h3>
    246 <p>No. The Android Compatibility Program is optional. Since the Android source
    247 code is open, anyone can use it to build any kind of device. However, if manufacturers
    248 wish to use the Android name with their products, or want access to Google Play,
    249 they must first demonstrate their devices are compatible.</p>
    250 <h3 id="how-much-does-compatibility-certification-cost">How much does compatibility certification cost?</h3>
    251 <p>There is no cost to obtain Android compatibility for a device. The
    252 Compatibility Test Suite is open source and available to anyone for device testing.</p>
    253 <h3 id="how-long-does-compatibility-take">How long does compatibility take?</h3>
    254 <p>The process is automated. The Compatibility Test Suite generates a report
    255 that can be provided to Google to verify compatibility. Eventually we intend
    256 to provide self-service tools to upload these reports to a public database.</p>
    257 <h3 id="who-determines-what-will-be-part-of-the-compatibility-definition">Who determines what will be part of the compatibility definition?</h3>
    258 <p>Since Google is responsible for the overall direction of Android as a
    259 platform and product, Google maintains the Compatibility Definition Document
    260 for each release. We draft the CDD for a new Android version in consultation
    261 with various OEMs who provide input on its contents.</p>
    262 <h3 id="how-long-will-each-android-version-be-supported-for-new-devices">How long will each Android version be supported for new devices?</h3>
    263 <p>Since Android's code is open source, we can't prevent someone from using an
    264 old version to launch a device. Instead, Google chooses not to license the
    265 Google Play client software for use on versions that are considered
    266 obsolete. This allows anyone to continue to ship old versions of Android,
    267 but those devices won't use the Android name and will exist outside the
    268 Android apps ecosystem, just as if they were non-compatible.</p>
    269 <h3 id="can-a-device-have-a-different-user-interface-and-still-be-compatible">Can a device have a different user interface and still be compatible?</h3>
    270 <p>The Android Compatibility Program determines whether a device can run
    271 third-party applications. The user interface components shipped with a
    272 device (such as home screen, dialer, color scheme, and so on) do not
    273 generally have much effect on third-party apps. As such, device builders are
    274 free to customize the user interface as much as they like. The Compatibility
    275 Definition Document does restrict the degree to which OEMs may alter the
    276 system user interface for areas that do impact third-party apps.</p>
    277 <h3 id="when-are-compatibility-definitions-released-for-new-android-versions">When are compatibility definitions released for new Android versions?</h3>
    278 <p>Our goal is to release new versions of Android Compatibility Definition
    279 Documents (CDDs) once the corresponding Android platform version has
    280 converged enough to permit it. While we can't release a final draft of a CDD
    281 for an Android software version before the first flagship device ships with
    282 that software, final CDDs will always be released after the first device.
    283 However, wherever practical we will make draft versions of CDDs available.</p>
    284 <h3 id="how-are-device-manufacturers-compatibility-claims-validated">How are device manufacturers' compatibility claims validated?</h3>
    285 <p>There is no validation process for Android device compatibility. However,
    286 if the device is to include Google Play, Google will typically validate
    287 the device for compatibility before agreeing to license the Google Play client
    288 software.</p>
    289 <h3 id="what-happens-if-a-device-that-claims-compatibility-is-later-found-to-have-compatibility-problems">What happens if a device that claims compatibility is later found to have compatibility problems?</h3>
    290 <p>Typically, Google's relationships with Google Play licensees allow us to
    291 ask them to release updated system images that fix the problems.</p>
    292 <a href="#top">Back to top</a>
    293 <h2 id="compatibility-test-suite">Compatibility Test Suite</h2>
    294 <h3 id="what-is-the-purpose-of-the-cts">What is the purpose of the CTS?</h3>
    295 <p>The Compatibility Test Suite is a tool used by device manufacturers to help
    296 ensure their devices are compatible, and to report test results for
    297 validations. The CTS is intended to be run frequently by OEMs throughout the
    298 engineering process to catch compatibility issues early.</p>
    299 <h3 id="what-kinds-of-things-does-the-cts-test">What kinds of things does the CTS test?</h3>
    300 <p>The CTS currently tests that all of the supported Android strong-typed APIs
    301 are present and behave correctly. It also tests other non-API system
    302 behaviors such as application lifecycle and performance. We plan to add
    303 support in future CTS versions to test "soft" APIs such as Intents as
    304 well.</p>
    305 <h3 id="will-the-cts-reports-be-made-public">Will the CTS reports be made public?</h3>
    306 <p>Yes. While not currently implemented, Google intends to provide web-based
    307 self-service tools for OEMs to publish CTS reports so that they can be
    308 viewed by anyone. CTS reports can be shared as widely as manufacturers
    309 prefer.</p>
    310 <h3 id="how-is-the-cts-licensed">How is the CTS licensed?</h3>
    311 <p>The CTS is licensed under the same Apache Software License 2.0 that the
    312 bulk of Android uses.</p>
    313 <h3 id="does-the-cts-accept-contributions">Does the CTS accept contributions?</h3>
    314 <p>Yes please! The Android Open Source Project accepts contributions to
    315 improve the CTS in the same way as for any other component. In fact,
    316 improving the coverage and quality of the CTS test cases is one of the best
    317 ways to help out Android.</p>
    318 <h3 id="can-anyone-use-the-cts-on-existing-devices">Can anyone use the CTS on existing devices?</h3>
    319 <p>The Compatibility Definition Document requires that compatible devices
    320 implement the 'adb' debugging utility. This means that any compatible device
    321 -- including ones available at retail -- must be able to run the CTS
    322 tests.</p>
    323 <h3 id="are-codecs-verified">Are codecs verified by CTS?</h3>
    324 <p>Yes. All mandatory codecs are verified by CTS.</p>
    325 
    326 <a href="#top">Back to top</a>
    327 
    328   </body>
    329 </html>
    330