to top
Android APIs
package

android.support.v4.app

Support android.app classes to assist with development of applications for android API level 4 or later. The main features here are backwards-compatible versions of FragmentManager and LoaderManager.

Interfaces

FragmentManager.BackStackEntry Representation of an entry on the fragment back stack, as created with FragmentTransaction.addToBackStack()
FragmentManager.OnBackStackChangedListener Interface to watch for changes to the back stack. 
LoaderManager.LoaderCallbacks<D> Callback interface for a client to interact with the manager. 

Classes

ActivityCompat Helper for accessing features in Activity introduced after API level 4 in a backwards compatible fashion. 
DialogFragment Static library support version of the framework's DialogFragment
Fragment Static library support version of the framework's Fragment
Fragment.SavedState State information that has been retrieved from a fragment instance through FragmentManager.saveFragmentInstanceState
FragmentActivity Base class for activities that want to use the support-based Fragment and Loader APIs. 
FragmentManager Static library support version of the framework's FragmentManager
FragmentPagerAdapter Implementation of PagerAdapter that represents each page as a Fragment that is persistently kept in the fragment manager as long as the user can return to the page. 
FragmentStatePagerAdapter Implementation of PagerAdapter that uses a Fragment to manage each page. 
FragmentTabHost Special TabHost that allows the use of Fragment objects for its tab content. 
FragmentTransaction Static library support version of the framework's FragmentTransaction
ListFragment Static library support version of the framework's ListFragment
LoaderManager Static library support version of the framework's LoaderManager
NavUtils NavUtils provides helper functionality for applications implementing recommended Android UI navigation patterns. 
NotificationCompat Helper for accessing features in Notification introduced after API level 4 in a backwards compatible fashion. 
NotificationCompat.Action  
NotificationCompat.BigPictureStyle Helper class for generating large-format notifications that include a large image attachment. 
NotificationCompat.BigTextStyle Helper class for generating large-format notifications that include a lot of text. 
NotificationCompat.Builder Builder class for NotificationCompat objects. 
NotificationCompat.InboxStyle Helper class for generating large-format notifications that include a list of (up to 5) strings. 
NotificationCompat.Style An object that can apply a rich notification style to a Notification.Builder object. 
ServiceCompat Helper for accessing features in Service introduced after API level 4 in a backwards compatible fashion. 
ShareCompat Extra helper functionality for sharing data between activities. 
ShareCompat.IntentBuilder IntentBuilder is a helper for constructing ACTION_SEND and ACTION_SEND_MULTIPLE sharing intents and starting activities to share content. 
ShareCompat.IntentReader IntentReader is a helper for reading the data contained within a sharing (ACTION_SEND) Intent. 
TaskStackBuilder Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.0 and newer. 
TaskStackBuilderHoneycomb Implementation of TaskStackBuilder that can call Honeycomb APIs. 

Exceptions

Fragment.InstantiationException Thrown by instantiate(Context, String, Bundle) when there is an instantiation failure.