Home | History | Annotate | Download | only in manifest
      1 page.title=
      2 @jd:body
      3 
      4 <div id="qv-wrapper">
      5 <div id="qv">
      6 
      7 <h2></h2>
      8 <ol>
      9 <li><a href="#filestruct"></a></li>
     10 <li><a href="#filec"></a>
     11 <li><a href="#filef"></a>
     12 	<ol>
     13 	<li><a href="#ifs"> Intent </a></li>
     14 	<li><a href="#iconlabel"></a></li>
     15 	<li><a href="#perms"></a></li>
     16 	<li><a href="#libs"></a></li>
     17 	</ol></li>
     18 </ol>
     19 </div>
     20 </div>
     21 
     22 <p>
     23   
     24 AndroidManifest.xml  <span itemprop="description">
     25 Android 
     26 
     27 </span> 
     28 </p>
     29 
     30 <ul>
     31 <li> Java
     32 </li>
     33 
     34 <li> Activity
     35 
     36 
     37 {@link android.content.Intent
     38 Intent} Android
     39 </li>
     40 
     41 <li></li>
     42 
     43 <li>
     44 API </li>
     45 
     46 <li>
     47 </li>
     48 
     49 <li> {@link android.app.Instrumentation}
     50 
     51 
     52 </li>
     53 
     54 <li> Android API
     55 </li>
     56 
     57 <li></li>
     58 </ul>
     59 
     60 
     61 <h2 id="filestruct"></h2>
     62 
     63 <p>
     64 
     65 
     66 
     67 
     68 
     69 
     70 </p>
     71 
     72 <pre>
     73 &lt;?xml version="1.0" encoding="utf-8"?&gt;
     74 
     75 <a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a>
     76 
     77     <a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission /&gt;</a>
     78     <a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission /&gt;</a>
     79     <a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree /&gt;</a>
     80     <a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group /&gt;</a>
     81     <a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentation /&gt;</a>
     82     <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk /&gt;</a>
     83     <a href="{@docRoot}guide/topics/manifest/uses-configuration-element.html">&lt;uses-configuration /&gt;</a>  <!-- ##api level 3## -->
     84     <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature /&gt;</a>  <!-- ##api level 4## -->
     85     <a href="{@docRoot}guide/topics/manifest/supports-screens-element.html">&lt;supports-screens /&gt;</a>  <!-- ##api level 4## -->
     86     <a href="{@docRoot}guide/topics/manifest/compatible-screens-element.html">&lt;compatible-screens /&gt;</a>  <!-- ##api level 9## -->
     87     <a href="{@docRoot}guide/topics/manifest/supports-gl-texture-element.html">&lt;supports-gl-texture /&gt;</a>  <!-- ##api level 11## -->
     88 
     89     <a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a>
     90 
     91         <a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a>
     92             <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a>
     93                 <a href="{@docRoot}guide/topics/manifest/action-element.html">&lt;action /&gt;</a>
     94                 <a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category /&gt;</a>
     95                 <a href="{@docRoot}guide/topics/manifest/data-element.html">&lt;data /&gt;</a>
     96             <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;/intent-filter&gt;</a>
     97             <a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data /&gt;</a>
     98         <a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;/activity&gt;</a>
     99 
    100         <a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias&gt;</a>
    101             <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a> . . . <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;/intent-filter&gt;</a>
    102             <a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data /&gt;</a>
    103         <a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;/activity-alias&gt;</a>
    104 
    105         <a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a>
    106             <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a> . . . <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;/intent-filter&gt;</a>
    107             <a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data/&gt;</a>
    108         <a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;/service&gt;</a>
    109 
    110         <a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a>
    111             <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a> . . . <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;/intent-filter&gt;</a>
    112             <a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data /&gt;</a>
    113         <a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;/receiver&gt;</a>
    114 
    115         <a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a>
    116             <a href="{@docRoot}guide/topics/manifest/grant-uri-permission-element.html">&lt;grant-uri-permission /&gt;</a>
    117             <a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data /&gt;</a>
    118             <a href="{@docRoot}guide/topics/manifest/path-permission-element.html">&lt;path-permission /&gt;</a>
    119         <a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;/provider&gt;</a>
    120 
    121         <a href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library /&gt;</a>
    122 
    123     <a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;/application&gt;</a>
    124 
    125 <a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;/manifest&gt;</a>
    126 </pre>
    127 
    128 <p>
    129 
    130 
    131 
    132 </p>
    133 
    134 <p style="margin-left: 2em">
    135 <code><a href="{@docRoot}guide/topics/manifest/action-element.html">&lt;action&gt;</a></code>
    136 <br/><code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>
    137 <br/><code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias&gt;</a></code>
    138 <br/><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
    139 <br/><code><a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category&gt;</a></code>
    140 <br/><code><a href="{@docRoot}guide/topics/manifest/data-element.html">&lt;data&gt;</a></code>
    141 <br/><code><a href="{@docRoot}guide/topics/manifest/grant-uri-permission-element.html">&lt;grant-uri-permission&gt;</a></code>
    142 <br/><code><a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentation&gt;</a></code>
    143 <br/><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a></code>
    144 <br/><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>
    145 <br/><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></code>
    146 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    147 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group&gt;</a></code>
    148 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt;</a></code>
    149 <br/><code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>
    150 <br/><code><a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></code>
    151 <br/><code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>
    152 <br/><code><a href="{@docRoot}guide/topics/manifest/supports-screens-element.html">&lt;supports-screens&gt;</a></code>  <!-- ##api level 4## -->
    153 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-configuration-element.html">&lt;uses-configuration&gt;</a></code>  <!-- ##api level 3## -->
    154 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature&gt;</a></code>  <!-- ##api level 4## -->
    155 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;</a></code>
    156 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code>
    157 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk&gt;</a></code>
    158 </p>
    159 
    160 
    161 
    162 
    163 <h2 id="filec"></h2>
    164 
    165 <p>
    166 
    167 
    168 </p>
    169 
    170 <dl>
    171 <dt><b></b></dt>
    172 <dd>
    173 <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code> 
    174 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
    175 
    176 
    177 
    178 
    179 
    180 <p>
    181 
    182 
    183 </p>
    184 
    185 <p>
    186 <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code><code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>
    187 
    188 <code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>
    189 
    190 <code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias&gt;</a></code>
    191 
    192 
    193 <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>
    194 
    195 </p></dd>
    196 
    197 <dt><b></b></dt>
    198 <dd>
    199 
    200 
    201 
    202 
    203 <p>
    204 <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>
    205  {@code android:}
    206 {@code android:alwaysRetainTaskState}
    207 
    208 </p></dd>
    209 
    210 <dt><b></b></dt>
    211 <dd>
    212 Java
    213 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
    214 
    215 &mdash;
    216 Activity
    217 (<code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>)
    218 (<code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>)
    219 (<code><a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></code>)
    220 
    221 (<code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>)
    222 
    223 <p>
    224 {@link android.app.Activity}{@link android.app.Service}{@link android.content.BroadcastReceiver}
    225 
    226 {@link android.content.ContentProvider} {@code name} 
    227 
    228 {@link android.app.Service}
    229 
    230 </p>
    231 
    232 <pre>&lt;manifest . . . &gt;
    233     &lt;application . . . &gt;
    234         &lt;service android:name="com.example.project.SecretService" . . . &gt;
    235             . . .
    236         &lt;/service&gt;
    237         . . .
    238     &lt;/application&gt;
    239 &lt;/manifest&gt;</pre>
    240 
    241 <p>
    242 
    243 <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>
    244 
    245 <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html#package">package</a></code>
    246 
    247 
    248 </p>
    249 
    250 <pre>&lt;manifest package="com.example.project" . . . &gt;
    251     &lt;application . . . &gt;
    252         &lt;service android:name=".SecretService" . . . &gt;
    253             . . .
    254         &lt;/service&gt;
    255         . . .
    256     &lt;/application&gt;
    257 &lt;/manifest&gt;</pre>
    258 
    259 <p>
    260 Android 
    261 
    262 </p></dd>
    263 
    264 <dt><b></b></dt>
    265 <dd>
    266 Intent 
    267 
    268 
    269 <pre>&lt;intent-filter . . . &gt;
    270     &lt;action android:name="android.intent.action.EDIT" /&gt;
    271     &lt;action android:name="android.intent.action.INSERT" /&gt;
    272     &lt;action android:name="android.intent.action.DELETE" /&gt;
    273     . . .
    274 &lt;/intent-filter&gt;</pre></dd>
    275 
    276 <dt><b></b></dt>
    277 <dd>Activity 
    278 
    279 
    280 </p>
    281 
    282 <p style="margin-left: 2em">{@code @[<i>package</i>:]<i>type</i>:<i>name</i>}</p>
    283 
    284 <p>
    285  <i>package</i> 
    286  <i>type</i> 
    287  <i>name</i> 
    288 
    289 </p>
    290 
    291 <pre>&lt;activity android:icon="@drawable/smallPic" . . . &gt</pre>
    292 
    293 <p>
    294 {@code ?}{@code @}
    295 
    296 </p>
    297 
    298 <p style="margin-left: 2em">{@code ?[<i>package</i>:]<i>type</i>:<i>name</i>}
    299 </p></dd>
    300 
    301 <dt><b></b></dt>
    302 <dd>{@code \\}
    303 {@code \\n}{@code \\uxxxx}
    304 Unicode </dd>
    305 </dl>
    306 
    307 
    308 <h2 id="filef"></h2>
    309 
    310 <p>
    311 
    312 Android 
    313 </p>
    314 
    315 
    316 <h3 id="ifs"> Intent </h3>
    317 
    318 <p>
    319  Activity
    320  <i>Intent </i>Intent {@link android.content.Intent}
    321 
    322 
    323 Android
    324 
    325  Intent
    326  Intent 
    327 </p>
    328 
    329 <p>
    330 Intent  Intent 
    331  <i></i> 
    332 Android  Intent Intent 
    333 <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a></code>
    334 
    335 
    336 
    337 </p>
    338 
    339 <p>
    340 
    341  Intent 
    342  Intent
    343 
    344 </p>
    345 
    346 <p>
    347 
    348  Intent 
    349  Intent 
    350 <a href="{@docRoot}guide/components/intents-filters.html"> Intent  Intent </a>
    351 </p>
    352 
    353 
    354 <h3 id="iconlabel"></h3>
    355 
    356 <p>
    357  {@code icon}  {@code label}
    358 
    359 {@code description}
    360 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    361 
    362 
    363 
    364 
    365 
    366 </p>
    367 
    368 <p>
    369 
    370 {@code icon}  {@code label} 
    371 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
    372 
    373 <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>
    374 
    375 <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a></code>
    376 
    377 
    378  <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>  Activity 
    379  Intent  Activity 
    380  Intent 
    381 
    382 
    383 </p>
    384 
    385 <p>
    386  Intent 
    387 
    388 {@code android.intent.action.MAIN}{@code android.intent.category.LAUNCHER} Activity 
    389 
    390 
    391 
    392 
    393 
    394 </p>
    395 
    396 
    397 <h3 id="perms"></h3>
    398 
    399 <p>
    400   <i></i> 
    401    
    402 
    403 </p>
    404 
    405 <p>
    406 
    407 
    408 Android 
    409 </p>
    410 
    411 <p style="margin-left: 2em">{@code android.permission.CALL_EMERGENCY_NUMBERS}
    412 <br/>{@code android.permission.READ_OWNER_DATA}
    413 <br/>{@code android.permission.SET_WALLPAPER}
    414 <br/>{@code android.permission.DEVICE_POWER}</p>
    415 
    416 <p>
    417 
    418 </p>
    419 
    420 <p>
    421 
    422 <code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code>
    423 
    424 
    425 
    426 
    427 
    428 
    429 
    430 
    431 </p>
    432 
    433 <p>
    434 Activity
    435 
    436 Android
    437 
    438 {@link android.Manifest.permission android.Manifest.permission} 
    439 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    440 
    441 Activity 
    442 </p>
    443 
    444 <pre>
    445 &lt;manifest . . . &gt;
    446     &lt;permission android:name="com.example.project.DEBIT_ACCT" . . . /&gt;
    447     &lt;uses-permission android:name="com.example.project.DEBIT_ACCT" /&gt;
    448     . . .
    449     &lt;application . . .&gt;
    450         &lt;activity android:name="com.example.project.FreneticActivity"
    451                   android:permission="com.example.project.DEBIT_ACCT"
    452                   . . . &gt;
    453             . . .
    454         &lt;/activity&gt;
    455     &lt;/application&gt;
    456 &lt;/manifest&gt;
    457 </pre>
    458 
    459 <p>
    460 {@code DEBIT_ACCT}
    461 
    462 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    463 
    464 <code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code>
    465  Activity
    466 
    467 
    468 </p>
    469 
    470 <p>
    471 
    472 {@code permission}
    473 {@code android.permission.CALL_EMERGENCY_NUMBERS}
    474 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    475 
    476 
    477 <code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code> 
    478 </p>
    479 
    480 <p>
    481 <code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree&gt;</a></code>
    482 
    483 
    484 
    485 <code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group&gt;</a></code>
    486 
    487 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    488 
    489 <code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group&gt;</a></code>
    490 
    491 
    492 
    493 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>
    494 
    495 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html#pgroup">permissionGroup</a></code>
    496 
    497 
    498 </p>
    499 
    500 
    501 <h3 id="libs"></h3>
    502 
    503 <p>
    504  Android  Activity Intent ContentProvider 
    505 
    506 
    507 
    508 </p>
    509 
    510 <p>
    511 
    512 
    513 
    514 <code><a href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;</a></code>
    515 
    516 
    517 </p>
    518