| 1 | <html> |
| 2 | <body> |
| 3 | |
| 4 | <p>Contains classes for accessing and publishing data on a device. It includes three main |
| 5 | categories of APIs:</p> |
| 6 | |
| 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> |
| 18 | |
| 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> |
| 23 | |
| 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> |
| 29 | |
| 30 | </body> |
| 31 | </html> |
| 32 |