1<html> 2 3<body> 4 5<p>Contains high-level classes encapsulating the overall Android application model.</p> 6 7<p>An Android application is defined using one or more of Android's four core application 8components. Two such application components are defined in this package: {@link 9android.app.Activity} and {@link android.app.Service}. The other two components are from the {@link 10android.content} package: {@link android.content.BroadcastReceiver} and {@link 11android.content.ContentProvider}.</p> 12 13<p>An {@link android.app.Activity} is an application component that provides a screen with which 14users can interact in order to do something, such as dial the phone, take a photo, send an email, or 15view a map. An activity can start other activities, including activities that live in separate 16applications.</p> 17 18<p>A {@link android.app.Service} is an application component that can perform 19long-running operations in the background without a user interface. For example, a service 20can handle network transactions, play music, or work with a content provider without the user being 21aware of the work going on.</p> 22 23<p>The {@link android.app.Fragment} class is also an important part of an application's 24design—especially when designing for large screen devices, such as tablets. A fragment defines 25a distinct part of an activity's behavior, including the associated UI. It has its own lifecycle 26that is similar to that of the activity and can exist alongside other fragments that are embedded in 27the activity. While an activity is running, you can add and remove fragments and include each 28fragment in a back stack that's managed by the activity—allowing the user to navigate 29backwards through the fragment states, without leaving the activity.</p> 30 31<p>This package also defines application utilities, such as dialogs, notifications, and the 32action bar.</p> 33 34<p>For information about using some the classes in this package, see the following 35documents: <a href="{@docRoot}guide/topics/fundamentals/activities.html">Activities</a>, <a 36href="{@docRoot}guide/topics/fundamentals/services.html">Services</a>, <a 37href="{@docRoot}guide/components/fragments.html">Fragments</a>, <a 38href="{@docRoot}guide/topics/ui/actionbar.html">Using the Action Bar</a>, <a 39href="{@docRoot}guide/topics/ui/dialogs.html">Creating Dialogs</a>, and <a 40href="{@docRoot}guide/topics/ui/notifiers/index.html">Notifying the User</a>.</p> 41 42 43</body> 44</html> 45