1 page.title=<uses-library> 2 @jd:body 3 4 <dl class="xml"> 5 <dt>syntax:</dt> 6 <dd><pre><uses-library android:<a href="#nm">name</a>="<i>string</i>" /></pre></dd> 7 8 <dt>contained in:</dt> 9 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code></dd> 10 11 <dt>description:</dt> 12 <dd>Specifies a shared library that the application must be linked against. 13 This element tells the system to include the library's code in the class 14 loader for the package. 15 16 <p> 17 All of the {@code android} packages (such as {@link android.app}, 18 {@link android.content}, {@link android.view}, and {@link android.widget}) 19 are in the default library that all applications are automatically linked 20 against. However, some packages (such as {@code maps} and {@code awt} are 21 in separate libraries that are not automatically linked. Consult the 22 documentation for the packages you're using to determine which library 23 contains the package code. 24 </p></dd> 25 26 <dt>attributes:</dt> 27 <dd><dl class="attr"> 28 <dt><a name="nm"></a>{@code android:name}</dt> 29 <dd>The name of the library.</dd> 30 </dl></dd> 31 32 <!-- ##api level indication## --> 33 <dt>introduced in:</dt> 34 <dd>API Level 1</dd> 35 36 </dl> 37