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