The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | <html> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 2 | <body> |
| 3 | |
Scott Main | f4f05b8 | 2011-01-07 14:38:23 -0800 | [diff] [blame] | 4 | <p>Contains classes for accessing and publishing data on a device. It includes three main |
| 5 | categories of APIs:</p> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 6 | |
Scott Main | f4f05b8 | 2011-01-07 14:38:23 -0800 | [diff] [blame] | 7 | <ul> |
| 8 | <dt>Content sharing ({@link android.content})</dt> |
| 9 | <dd>For sharing content between application components. The most important classes are: |
| 10 | <ul> |
| 11 | <li>{@link android.content.ContentProvider} and {@link android.content.ContentResolver} |
| 12 | for managing and publishing persistent data associated with an application.</li> |
| 13 | <li>{@link android.content.Intent} and {@link android.content.IntentFilter}, for delivering |
| 14 | structured messages between different application components—allowing components to initiate |
| 15 | other components and return results.</li> |
| 16 | </ul> |
| 17 | </dd> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 18 | |
Scott Main | f4f05b8 | 2011-01-07 14:38:23 -0800 | [diff] [blame] | 19 | <dt>Package management ({@link android.content.pm})</dt> |
| 20 | <dd>For accessing information about an Android package (an {@code .apk}), including information |
| 21 | about its activities, permissions, services, signatures, and providers. The most important class for |
| 22 | accessing this information is {@link android.content.pm.PackageManager}.</dd> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 23 | |
Scott Main | f4f05b8 | 2011-01-07 14:38:23 -0800 | [diff] [blame] | 24 | <dt>Resource management ({@link android.content.res})</dt> |
| 25 | <dd>For retrieving resource data associated with an application, such as strings, drawables, |
| 26 | media, and device configuration details. The most important class for accessing this data is {@link |
| 27 | android.content.res.Resources}.</dd> |
| 28 | </ul> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 29 | |
| 30 | </body> |
| 31 | </html> |
| 32 | |