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"> </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     AndroidManifest.xml 
     24  <span itemprop="description">  Android 
     25 
     26 
     27 </span>  
     28 </p>
     29 
     30 <ul>
     31 <li> Java 
     32 </li>
     33 
     34 <li>  
     35 
     36  {@link android.content.Intent Intent} 
     37 
     38 Android 
     39 </li>
     40 
     41 <li> </li>
     42 
     43 <li> API 
     44 </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><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>  <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>  1 
    173 
    174 
    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><code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code> 
    187 
    188 
    189 
    190 <code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias&gt;</a></code> 
    191 
    192  <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code> 
    193 
    194 
    195 </p></dd>
    196 
    197 <dt><b></b></dt>
    198 <dd>
    199 
    200 
    201 
    202 
    203 <p> <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>  {@code android:} : {@code android:alwaysRetainTaskState}
    204 
    205 
    206 
    207 
    208 </p></dd>
    209 
    210 <dt><b></b></dt>
    211 <dd> Java <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code><code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code> <code><a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></code> <code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>
    212 
    213 
    214 
    215 
    216 
    217 
    218 
    219 
    220 
    221 
    222 
    223 <p>
    224  {@link android.app.Activity}{@link android.app.Service}{@link android.content.BroadcastReceiver}{@link android.content.ContentProvider} {@code name} 
    225 
    226 
    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 <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>  <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html#package">package</a></code> 
    243 
    244 
    245 
    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>1 1 
    266  
    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>
    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  package type stringdrawablename <i></i>
    286 <i></i>
    287 <i></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 \\}' '{@code \\n}'Unicode  '{@code \\uxxxx}' 
    303 
    304 </dd>
    305 </dl>
    306 
    307 
    308 <h2 id="filef"></h2>
    309 
    310 <p>
    311 Android  
    312 
    313 </p>
    314 
    315 
    316 <h3 id="ifs"> </h3>
    317 
    318 <p>
    319   
    320 <i></i>{@link android.content.Intent} 
    321 
    322 
    323 Android  
    324 
    325 
    326 
    327 </p>
    328 
    329 <p>
    330  
    331 <i></i>Android    <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a></code> 
    332 
    333 
    334 
    335 
    336 
    337 </p>
    338 
    339 <p>
    340 
    341 
    342 
    343 
    344 </p>
    345 
    346 <p>
    347   <a href="{@docRoot}guide/components/intents-filters.html"> </a>
    348 
    349 
    350 
    351 </p>
    352 
    353 
    354 <h3 id="iconlabel"></h3>
    355 
    356 <p>
    357  {@code icon}  {@code label} 
    358  {@code description} 
    359 
    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  {@code icon}  {@code label} 
    370 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> 
    371 
    372 
    373 &mdash; <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>  &mdash;  <code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a></code> 
    374 
    375 
    376 
    377 
    378 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>    
    379 
    380 
    381 
    382 
    383 </p>
    384 
    385 <p>
    386  
    387 
    388 {@code android.intent.action.MAIN}{@code android.intent.category.LAUNCHER} &mdash;  
    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 Android 
    408 
    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 1 1 
    418 </p>
    419 
    420 <p>
    421 <code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code>  
    422 
    423 
    424 
    425 
    426 
    427 
    428 
    429 
    430 
    431 </p>
    432 
    433 <p>
    434   
    435 Android {@link android.Manifest.permission android.Manifest.permission} 
    436 
    437 
    438 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code> 
    439 
    440 
    441 
    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}  <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>  <code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code> 
    461 
    462 
    463 
    464 
    465 
    466 
    467 
    468 </p>
    469 
    470 <p>
    471  {@code permission} {@code android.permission.CALL_EMERGENCY_NUMBERS} <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code> 
    472 
    473 
    474 
    475 
    476  <code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></code> 
    477 
    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 <code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group&gt;</a></code>   <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code> 
    485 
    486 
    487 
    488 
    489 <code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group&gt;</a></code> 
    490 
    491 
    492 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code>  <code><a href="{@docRoot}guide/topics/manifest/permission-element.html#pgroup">permissionGroup</a></code> 
    493 
    494 
    495 
    496 
    497 
    498 </p>
    499 
    500 
    501 <h3 id="libs"></h3>
    502 
    503 <p>
    504  Android ActivityServiceIntentViewButtonApplicationContentProvider 
    505 
    506 
    507 
    508 </p>
    509 
    510 <p>
    511 
    512 
    513   <code><a href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;</a></code> 
    514 
    515 
    516 
    517 </p>
    518