uses-library-element.jd revision d33ab2b8ad3b6690629d4606318e444c72010fa8
1page.title=<uses-library>
2@jd:body
3
4<dl class="xml">
5<dt>syntax:</dt>
6<dd><pre>&lt;uses-library android:<a href="#nm">name</a>="<i>string</i>" /&gt;</pre></dd>
7
8<dt>contained in:</dt>
9<dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code></dd>
10
11<dt>description:</dt>
12<dd>Specifies a shared library that the application must be linked against. 
13This element tells the system to include the library's code in the class 
14loader for the package.
15
16<p>
17All of the {@code android} packages (such as {@link android.app}, 
18{@link android.content}, {@link android.view}, and {@link android.widget}) 
19are in the default library that all applications are automatically linked 
20against.  However, some packages (such as {@code maps} and {@code awt} are 
21in separate libraries that are not automatically linked.  Consult the 
22documentation for the packages you're using to determine which library 
23contains 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