Home | History | Annotate | Download | only in src
      1 page.title=Content License
      2 fullpage=1
      3 @jd:body
      4 
      5 <div class="wrap" style="width:940px;">
      6   <h1>Content License</h1>
      7 <p>For the purposes of licensing, the content of this web site is divided
      8 into two categories:</p>
      9 <ul>
     10   <li>Documentation content, including both static documentation and content extracted from source
     11   code modules, as well as sample code, and </li>
     12 <li>All other site content</li>
     13 </ul>
     14 
     15 <p>The documentation content on this site is made available to
     16 you as part of the <a href="https://android.googlesource.com/">Android Open
     17 Source Project</a>. This documentation, including any code shown in it,
     18 is licensed under the <a
     19 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0
     20 license</a>, the preferred license for all parts of the of the Android
     21 Open Source Project.</p>
     22 
     23 <p>Apache 2.0 is a commercial and open-source-friendly software
     24 license. The majority of the Android platform and documentation is
     25 licensed under the Apache 2.0 license. While the project strives to
     26 adhere to the preferred license, there may be exceptions, such as for
     27 documentation (code comments) extracted from a source code module that
     28 is licensed under GPLv2 or other license. In those cases, the license
     29 covering the source code module will apply to the documentation
     30 extracted from it. Source code modules that are used in the generation
     31 of documentation and have licenses that require attribution can be
     32 found in the <a href="#doclicenses">Documentation Licences section</a> below.</p>
     33 
     34 <p>Third-party components of this site such as JavaScript libraries are included in the Android
     35 Open Source Project under the licenses specified by their authors. For information about these
     36 licenses, refer to the source files in the Android Open Source Project.</p>
     37 
     38 <p>All other content on this site, except the license documents themselves
     39 and as otherwise noted, is licensed under the <a
     40 href="http://creativecommons.org/licenses/by/2.5/">Creative Commons
     41 Attribution 2.5</a> license. </p>
     42 
     43 <p>You may use the content of this site in any way that is consistent
     44 with the specific license that applies to the content, as described
     45 above. For content licensed under Creative Commons Attribution 2.5, we
     46 ask that you give proper <a href="#attribution">attribution</a>. </p>
     47 
     48 
     49 <h2 id="terms">Terms of Use</h2>
     50 
     51 <p>We are pleased to license the Android documentation and sample code under
     52 terms that encourage you to take, modify, reuse, re-purpose, and remix the
     53 content as you see fit. Except as noted in the <a href="#restrictions">Restrictions</a> section
     54 below, you
     55 are free to use the documentation content in your own creations. For example,
     56 you could quote the text in a book, cut-and-paste sections to your blog, record
     57 it as an audiobook for the visually impaired, or even translate it. </p>
     58 
     59 
     60 <h2 id="restrictions">Restrictions</h2>
     61 
     62 <ul>
     63 <li>While the documentation itself is available to you under the Apache 2.0
     64 license, note that proprietary trademarks and brand features are not
     65 included in that license.</li>
     66 
     67 <li>Google's trademarks and other brand features (including the
     68 <img src="http://developer.android.com/images/android-logo.png" alt="Android"
     69 style="margin:0;padding:0 2px;vertical-align:baseline" /> stylized typeface logo) are not included
     70 in the license.
     71 Please see <a
     72 href="https://developer.android.com/distribute/tools/promote/brand.html">Brand Guidelines</a> for
     73 information about this usage. </li>
     74 
     75 <li>In some cases, a page may include content, such as an image, that is not
     76 covered by the license. In that case, we will label the content that is not licensed. </li>
     77 
     78 <li>In addition, content linked from a page on this site is not covered
     79 by the license unless specifically noted. For example, pages may link to videos or
     80 slide decks that are not covered.</li>
     81 
     82 <li>The use of sample source code provided in the SDK or shown in this
     83 documentation is subject to the conditions detailed in the <a
     84 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 license</a>.</li>
     85 </ul>
     86 
     87 <h2 id="attribution">Attribution</h2>
     88 <p>
     89 Proper attribution is required when you reuse or create modified
     90 versions of content that appears on a page made available under the
     91 terms of the Creative Commons Attribution license. On this site, the
     92 requirement for attribution applies only to the non-documentation
     93 content, as described earlier in this document. The complete
     94 requirements for attribution can be found in section 4b of the
     95 <a href="http://creativecommons.org/licenses/by/2.5/legalcode">
     96 Creative Commons legal code</a>.
     97 </p>
     98 <p>
     99  In practice we ask that you provide attribution to the Android Open
    100  Source project to the best of the ability of the medium in which you
    101  are producing the work. There are several typical ways in which this
    102  might apply:
    103 </p>
    104 <h3>Exact Reproductions</h3>
    105 <p>
    106  If your online work <em>exactly reproduces</em> text or images from this
    107  site, in whole or in part, please include a paragraph at the bottom
    108  of your page that reads:
    109 </p>
    110 <p style="margin-left:20px;font-style:italic">
    111  Portions of this page are reproduced from work created and <a
    112  href="https://code.google.com/p/android/">shared by the Android Open Source Project</a>
    113  and used according to terms described in the <a
    114  href="http://creativecommons.org/licenses/by/2.5/">Creative Commons
    115  2.5 Attribution License</a>.
    116 
    117 </p>
    118 <p>
    119  Also, please link back to the original source page so that readers can
    120  refer there for more information.
    121 </p>
    122 <h3>Modified Versions</h3>
    123 <p>
    124  If your online work shows <em>modified</em> text or images based on
    125  the content from this site, please include a paragraph at the bottom of
    126  your page that reads:
    127 </p>
    128 <p style="margin-left:20px;font-style:italic">
    129  Portions of this page are modifications based on work created and <a
    130  href="https://code.google.com/p/android/">shared by the Android Open
    131  Source Project</a> and used according to terms described in the <a
    132  href="http://creativecommons.org/licenses/by/2.5/">Creative Commons
    133  2.5 Attribution License</a>.
    134 </p>
    135 <p>
    136  Again, please link back to the original source page so that readers can
    137  refer there for more information. This is even more important when
    138  the content has been modified.
    139 </p>
    140 <h3>Other Media</h3>
    141 <p>
    142  If you produce non-hypertext works, such as books, audio, or
    143  video, we ask that you make a best effort to include a spoken or
    144  written attribution in the spirit of the messages above.
    145 </p>
    146 
    147 <h2 id="doclicenses">Documentation Licenses</h2>
    148 <h3 id="icu">ICU License</h3>
    149 <p>The Android public API documentation incorporates text from the following source code libraries under the ICU License:</p>
    150 <ul>
    151 <li><a href="https://developer.android.com/reference/android/icu/lang/package-summary.html">android.icu.lang</a></li>
    152 <li><a href="https://developer.android.com/reference/android/icu/math/package-summary.html">android.icu.math</a></li>
    153 <li><a href="https://developer.android.com/reference/android/icu/text/package-summary.html">android.icu.text</a></li>
    154 <li><a href="https://developer.android.com/reference/android/icu/util/package-summary.html">android.icu.util</a></li>
    155 </ul>
    156 
    157 <div class="aside" style="overflow:scroll; height:250px;">
    158 <p>COPYRIGHT AND PERMISSION NOTICE</p>
    159 
    160 <p>
    161 Copyright (c) 1995-2015 International Business Machines Corporation and others
    162 </p>
    163 <p>
    164 All rights reserved.
    165 </p>
    166 <p>
    167 Permission is hereby granted, free of charge, to any person obtaining a copy
    168 of this software and associated documentation files (the "Software"),
    169 to deal in the Software without restriction, including without limitation
    170 the rights to use, copy, modify, merge, publish, distribute, and/or sell
    171 copies of the Software, and to permit persons
    172 to whom the Software is furnished to do so, provided that the above
    173 copyright notice(s) and this permission notice appear in all copies
    174 of the Software and that both the above copyright notice(s) and this
    175 permission notice appear in supporting documentation.
    176 </p>
    177 <p>
    178 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
    179 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
    180 PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL
    181 THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM,
    182 OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
    183 RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
    184 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
    185 USE OR PERFORMANCE OF THIS SOFTWARE.
    186 </p>
    187 <p>
    188 Except as contained in this notice, the name of a copyright holder shall not be
    189 used in advertising or otherwise to promote the sale, use or other dealings in
    190 this Software without prior written authorization of the copyright holder.
    191 </p>
    192 </div>
    193 
    194 <h3 id="w3c_license">W3C Software and Document Notice and License</h3>
    195 <p>The Android public API documentation incorporates text from the following source code libraries under the W3C Software and Document Notice and License:</p>
    196 <ul>
    197 <li><a href="https://developer.android.com/reference/org/w3c/dom/package-summary.html">org.w3c.dom</a></li>
    198 <li><a href="https://developer.android.com/reference/org/w3c/dom/ls/package-summary.html">org.w3c.dom.ls</a></li>
    199 </ul>
    200 
    201 <div class="aside" style="overflow:scroll; height:250px;">
    202 <p>This work is being provided by the copyright holders under the following license.</p>
    203 <h5>License</h5>
    204 <p>
    205  By obtaining and/or copying this work, you (the licensee) agree that you have read, understood,
    206  and will comply with the following terms and conditions.
    207 </p>
    208 <p>
    209  Permission to copy, modify, and distribute this work, with or without modification, for any
    210  purpose and without fee or royalty is hereby granted, provided that you include the following on
    211  ALL copies of the work or portions thereof, including modifications:
    212 </p>
    213 <ul>
    214 <li>
    215  The full text of this NOTICE in a location viewable to users of the redistributed or
    216  derivative work.
    217 </li>
    218 <li>
    219  Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none
    220  exist, the W3C Software and Document Short Notice should be included.
    221 </li>
    222 <li>
    223  Notice of any changes or modifications, through a copyright statement on the new code or document
    224  such as "This software or document includes material copied from or derived from [title and URI of
    225  the W3C document]. Copyright  [YEAR] W3C (MIT, ERCIM, Keio, Beihang)."
    226 </li>
    227 </ul>
    228 <h5>Disclaimers</h5>
    229 <p>
    230  THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES,
    231  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
    232  PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY
    233  PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
    234 </p>
    235 <p>
    236  COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES
    237  ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
    238 </p>
    239 <p>
    240  The name and trademarks of copyright holders may NOT be used in advertising or publicity
    241  pertaining to the work without specific, written prior permission. Title to copyright in this work
    242  will at all times remain with copyright holders.
    243 </p>
    244 </div>
    245 </div>
    246