Home | History | Annotate | Download | only in components
      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="#Components"></a>
     10   <ol>
     11     <li><a href="#ActivatingComponents"></a></li>
     12   </ol>
     13 </li>
     14 <li><a href="#Manifest"> </a>
     15   <ol>
     16     <li><a href="#DeclaringComponents"></a></li>
     17     <li><a href="#DeclaringRequirements"></a></li>
     18   </ol>
     19 </li>
     20 <li><a href="#Resources"></a></li>
     21 </ol>
     22 </div>
     23 </div>
     24 
     25 <p>Android  Java APKAndroid SDK &mdash; 
     26 &mdash;APK  <i>Android </i>
     27 {@code .apk}  1  APK Android Android 
     28 </p>
     29 
     30 <p> Android   </p>
     31 
     32 <ul>
     33  <li>Android   Linux 
     34 </li>
     35 
     36 <li> Linux  ID ID  ID 
     37  ID 
     38  </li>
     39 
     40 <li>VM
     41 </li>
     42 
     43 <li> Linux Android 
     44 
     45 </li>
     46 </ul>
     47 
     48 <p>Android <em></em>
     49 
     50 
     51 </p>
     52 
     53 <p>
     54 </p>
     55 
     56 <ul>
     57   <li>2  Linux  ID 
     58   ID  Linux  VM 
     59 
     60 </li>
     61   <li>SMS SD Bluetooth 
     62 
     63 </li>
     64 </ul>
     65 
     66 <p> Android 
     67 </p>
     68 <ul>
     69   <li>  </li>
     70   <li> 
     71 </li>
     72   <li>
     73 </li>
     74 </ul>
     75 
     76 
     77 
     78 <h2 id="Components"></h2>
     79 
     80 <p>Android   
     81 
     82 
     83 &mdash;
     84 </p>
     85 
     86 <p>4 
     87 </p>
     88 
     89 <p> 4 </p>
     90 
     91 <dl>
     92 
     93 <dt><b></b></dt>
     94 
     95 <dd> <i></i> 1   1   1 
     96 
     97 
     98 
     99 1 
    100  
    101 
    102 
    103 <p> {@link android.app.Activity}  <a href="{@docRoot}guide/components/activities.html">Activities</a>
    104 
    105 </p>
    106 </dd>
    107 
    108 
    109 <dt><b></b></dt>
    110 
    111 <dd> <i></i>  
    112  
    113 
    114 
    115 
    116 
    117 
    118 <p> {@link android.app.Service}  <a href="{@docRoot}guide/components/services.html"></a>
    119 
    120 </p>
    121 </dd>
    122 
    123 
    124 <dt><b> </b></dt>
    125 
    126 <dd>  <i></i>  SQLite 
    127 
    128   
    129 Android  
    130  {@link
    131 android.provider.ContactsContract.Data}
    132 
    133 
    134 <p> 
    135 <a href="{@docRoot}resources/samples/NotePad/index.html">Note Pad</a>   
    136 </p>
    137 
    138 <p>  {@link android.content.ContentProvider}  API 
    139 
    140  <a href="{@docRoot}guide/topics/providers/content-providers.html">Contetns Providers</a>
    141 </p>
    142 </dd>
    143 
    144 
    145 <dt><b> </b></dt>
    146 
    147 <dd>  <i></i>  
    148 &mdash;
    149 
    150 &mdash;
    151   <a href="{@docRoot}guide/topics/ui/notifiers/notifications.html"></a> 
    152 
    153  
    154 
    155 
    156 
    157 <p> {@link android.content.BroadcastReceiver}  {@link android.content.Intent} 
    158 {@link android.content.BroadcastReceiver} 
    159 </p>
    160 </dd>
    161 
    162 </dl>
    163 
    164 
    165 
    166 <p>Android 
    167 
    168 
    169 
    170 
    171 
    172 
    173 </p>
    174 
    175 <p>
    176 Android   1 {@code main()} 
    177 
    178 
    179 
    180 </p>
    181 
    182 <p>Android 
    183 
    184 <em></em>
    185 
    186 </p>
    187 
    188 
    189 <h3 id="ActivatingComponents"></h3>
    190 
    191 <p>4    3 <em></em>&mdash;&mdash;
    192 
    193 
    194 
    195 </p>
    196 
    197 <p> {@link android.content.Intent} <em></em>&mdash;
    198 
    199 </p>
    200 
    201 <p> URI 
    202 
    203 
    204  {@link android.content.Intent}  URI 
    205 &mdash;
    206 
    207 
    208 </p>
    209 
    210 <p> 
    211 
    212 </p>
    213 
    214 <p>  {@link android.content.ContentResolver} 
    215  {@link
    216 android.content.ContentResolver} 
    217 
    218  
    219 </p>
    220 
    221 <p> </p>
    222 <ul>
    223   <li>{@link android.content.Intent}  {@link android.content.Context#startActivity
    224 startActivity()}  {@link android.app.Activity#startActivityForResult startActivityForResult()} 
    225 
    226 </li>
    227   <li>{@link android.content.Intent}  {@link android.content.Context#startService
    228 startService()} 
    229 {@link android.content.Intent}  {@link android.content.Context#bindService bindService()} 
    230 </li>
    231   <li>{@link android.content.Intent}  {@link android.content.Context#sendBroadcast(Intent) sendBroadcast()}{@link
    232 android.content.Context#sendOrderedBroadcast(Intent, String) sendOrderedBroadcast()}{@link
    233 android.content.Context#sendStickyBroadcast sendStickyBroadcast()} 
    234 </li>
    235   <li> {@link android.content.ContentResolver}  {@link
    236 android.content.ContentProvider#query query()} </li>
    237 </ul>
    238 
    239 <p><a href="{@docRoot}guide/components/intents-filters.html"> </a>
    240 
    241 <a href="{@docRoot}guide/components/activities.html"></a><a href="{@docRoot}guide/components/services.html"></a>{@link
    242 android.content.BroadcastReceiver}<a href="{@docRoot}guide/topics/providers/content-providers.html"> </a> </p>
    243 
    244 
    245 <h2 id="Manifest"> </h2>
    246 
    247 <p>Android  {@code AndroidManifest.xml} 
    248 
    249  
    250 </p>
    251 
    252 <p>
    253 </p>
    254 <ul>
    255   <li>  
    256 </li>
    257   <li> API  <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">API </a>
    258 </li>
    259   <li>Bluetooth  
    260 </li>
    261   <li><a href="http://code.google.com/android/add-ons/google-apis/maps-overview.html">Google  </a> API Android  API 
    262 
    263 </li>
    264   <li></li>
    265 </ul>
    266 
    267 
    268 <h3 id="DeclaringComponents"></h3>
    269 
    270 <p>  
    271  </p>
    272 
    273 <pre>
    274 &lt;?xml version="1.0" encoding="utf-8"?&gt;
    275 &lt;manifest ... &gt;
    276     &lt;application android:icon="@drawable/app_icon.png" ... &gt;
    277         &lt;activity android:name="com.example.project.ExampleActivity"
    278                   android:label="@string/example_label" ... &gt;
    279         &lt;/activity&gt;
    280         ...
    281     &lt;/application&gt;
    282 &lt;/manifest&gt;</pre>
    283 
    284 <p><code><a
    285 href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> {@code android:icon} 
    286 
    287 </p>
    288 
    289 <p><code><a
    290 href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code> {@code android:name} {@link
    291 android.app.Activity} k{@code android:label} 
    292 
    293 </p>
    294 
    295 <p> </p>
    296 <ul>
    297   <li><code><a
    298 href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code> 
    299 </li>
    300   <li><code><a
    301 href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code> 
    302 </li>
    303   <li><code><a
    304 href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></code>  
    305 </li>
    306   <li><code><a
    307 href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>  
    308 </li>
    309 </ul>
    310 
    311 <p>  
    312  {@link android.content.BroadcastReceiver}  {@link android.content.Context#registerReceiver registerReceiver()} 
    313 
    314 
    315 
    316 </p>
    317 
    318 <p> <a href="{@docRoot}guide/topics/manifest/manifest-intro.html">The AndroidManifest.xml File</a>
    319  </p>
    320 
    321 
    322 
    323 <h3 id="DeclaringComponentCapabilities"></h3>
    324 
    325 <p><a href="#ActivatingComponents"></a>{@link android.content.Intent}  
    326 
    327 <em></em>
    328 
    329 
    330 
    331  1 
    332 </p>
    333 
    334 <p>  
    335  <i></i> 
    336 </p>
    337 
    338 <p> 
    339 
    340 <a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">{@code
    341 &lt;intent-filter&gt;}</a>  
    342 </p>
    343 
    344 <p> 
    345 </p>
    346 <pre>
    347 &lt;manifest ... >
    348     ...
    349     &lt;application ... &gt;
    350         &lt;activity android:name="com.example.project.ComposeEmailActivity">
    351             &lt;intent-filter>
    352                 &lt;action android:name="android.intent.action.SEND" />
    353                 &lt;data android:type="*/*" />
    354                 &lt;category android:name="android.intent.category.DEFAULT" />
    355             &lt;/intent-filter>
    356         &lt;/activity>
    357     &lt;/application&gt;
    358 &lt;/manifest>
    359 </pre>
    360 
    361 <p> {@link
    362 android.content.Intent#ACTION_SEND} {@link android.app.Activity#startActivity
    363 startActivity()} 
    364 </p>
    365 
    366 <p> <a href="{@docRoot}guide/components/intents-filters.html"> </a>
    367 </p>
    368 
    369 
    370 
    371 <h3 id="DeclaringRequirements"></h3>
    372 
    373 <p>Android 
    374  
    375 
    376 
    377 Google Play 
    378 
    379 </p>
    380 
    381 <p>Android 2.1  API<a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">API </a> 7 
    382 </p>
    383 
    384 <pre>
    385 &lt;manifest ... >
    386     &lt;uses-feature android:name="android.hardware.camera.any"
    387                   android:required="true" />
    388     &lt;uses-sdk android:minSdkVersion="7" android:targetSdkVersion="19" />
    389     ...
    390 &lt;/manifest>
    391 </pre>
    392 
    393 <p><em></em>Android  2.1 <em></em>Google Play 
    394 </p>
    395 
    396 <p><em></em>
    397  <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html#required">{@code required}</a>  {@code "false"} 
    398 
    399 </p>
    400 
    401 <p><a href="{@docRoot}guide/practices/compatibility.html">Device Compatibility</a>
    402 
    403 </p>
    404 
    405 
    406 
    407 <h2 id="Resources"></h2>
    408 
    409 <p>Android    XML &mdash;
    410 
    411 
    412 
    413 &mdash;
    414 &mdash;
    415 </p>
    416 
    417 <p>Android SDK   ID  XML 
    418 
    419  {@code
    420 logo.png} {@code res/drawable/} SDK  {@code R.drawable.logo}  ID  
    421 
    422 </p>
    423 
    424 <p> 
    425 
    426 XML  UI 
    427 <em></em> {@code res/values-fr/} Android  UI 
    428 
    429 
    430 </p>
    431 
    432 <p>Android <em></em>
    433 
    434  1 
    435 
    436 
    437 
    438 2 
    439 
    440 
    441 </p>
    442 
    443 <p><a href="{@docRoot}guide/topics/resources/providing-resources.html"></a>
    444 </p>
    445 
    446 
    447 
    448 <div class="next-docs">
    449 <div class="col-6">
    450   <h2 class="norule"></h2>
    451   <dl>
    452     <dt><a href="{@docRoot}guide/components/intents-filters.html"> </a>
    453     </dt>
    454     <dd>{@link android.content.Intent} API 
    455 
    456 </dd>
    457     <dt><a href="{@docRoot}guide/components/activities.html">Activities</a></dt>
    458     <dd>  {@link android.app.Activity}
    459  </dd>
    460     <dt><a href="{@docRoot}guide/topics/resources/providing-resources.html"></a></dt>
    461     <dd>Android 
    462 
    463 
    464     </dd>
    465   </dl>
    466 </div>
    467 <div class="col-6">
    468   <h2 class="norule"></h2>
    469   <dl>
    470     <dt><a href="{@docRoot}guide/practices/compatibility.html">Device Compatibility</a></dt>
    471     <dd> Android 
    472 
    473 </dd>
    474     <dt><a href="{@docRoot}guide/topics/security/permissions.html">System Permissions</a></dt>
    475     <dd> API   API  Android 
    476 </dd>
    477   </dl>
    478 </div>
    479 </div>
    480 
    481