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