Removed Methods
|
void applyThemeResource(Theme, int, boolean)
|
|
ActivityPendingResult createActivityPendingResult(int, boolean)
|
Create a new ActivityPendingResult object, which you can hand to others
for them to use to send result data back to your
.onActivityResult callback. |
void finishSubActivity(int )
|
Force finish another activity that you had previously started with
.startSubActivity. |
void finishSubActivityFromChild(Activity, int)
|
This is called when a child activity of this one calls its
finishSubActivity(). |
ViewInflate getViewInflate()
|
Convenience for calling
android.view.Window.getViewInflate. |
boolean isEmbedded()
|
Is this activity embedded inside of another activity? |
boolean isFullscreenOpaque()
|
Returns whether this activity's UI is full-screen and opaque. |
void managedCommitUpdates(Cursor )
|
Wrapper around Cursor.commitUpdates that takes care of noting
that the Cursor needs to be requeried. |
boolean moveTaskBackwards(boolean )
|
Move the task containing this activity backwards one level in the
activity stack. |
void onCompleteThaw(Bundle )
|
This method is called after .onStart when the activity is
being re-initialized from a previously saved state, given here in
state. |
void onFreeze(Bundle )
|
Called to retrieve the current dynamic user-interface state of the
activity. |
void runOnUIThread(Runnable )
|
Runs the specified action on the UI thread. |
void setResult(int, String)
|
Call this to set the result that your activity will return to its
caller. |
void setResult(int, String, Bundle)
|
Call this to set the result that your activity will return to its
caller. |
void startSubActivity(Intent, int)
|
Launch a sub-activity. |
boolean startSubActivityIfNeeded(Intent, int)
|
A special variation to launch an activity only if a new activity
instance is needed to handle the given Intent. |
Added Methods
|
PendingIntent createPendingResult(int, Intent, int)
|
Create a new PendingIntent object which you can hand to others
for them to use to send result data back to your
.onActivityResult callback. |
void dismissDialog(int )
|
Dismiss a dialog that was previously shown via .showDialog(int). |
void finishActivity(int )
|
Force finish another activity that you had previously started with
.startActivityForResult. |
void finishActivityFromChild(Activity, int)
|
This is called when a child activity of this one calls its
finishActivity(). |
void finishFromChild(Activity )
|
This is called when a child activity of this one calls its
.finish method. |
int getChangingConfigurations()
|
If this activity is being destroyed because it can not handle a
configuration parameter being changed (and thus its
.onConfigurationChanged(Configuration) method is
not being called), then you can use this method to discover
the set of changes that have occurred while in the process of being
destroyed. |
Object getLastNonConfigurationInstance()
|
Retrieve the non-configuration instance data that was previously
returned by .onRetainNonConfigurationInstance(). |
LayoutInflater getLayoutInflater()
|
Convenience for calling
android.view.Window.getLayoutInflater. |
MenuInflater getMenuInflater()
|
Returns a MenuInflater with this context. |
int getRequestedOrientation()
|
Return the current requested orientation of the activity. |
int getVolumeControlStream()
|
Gets the suggested audio stream whose volume should be changed by the
harwdare volume controls. |
int getWallpaperDesiredMinimumHeight()
|
|
int getWallpaperDesiredMinimumWidth()
|
|
boolean isChild()
|
Is this activity embedded inside of another activity? |
void onApplyThemeResource(Theme, int, boolean)
|
|
void onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
|
Called when a context menu for the {@code view} is about to be shown. |
Dialog onCreateDialog(int )
|
Callback for creating dialogs that are managed (saved and restored) for you
by the activity. |
void onLowMemory()
|
|
boolean onMenuOpened(int, Menu)
|
{@inheritDoc}
|
void onPrepareDialog(int, Dialog)
|
Provides an opportunity to prepare a managed dialog before it is being
shown. |
void onRestoreInstanceState(Bundle )
|
This method is called after .onStart when the activity is
being re-initialized from a previously saved state, given here in
state. |
Object onRetainNonConfigurationInstance()
|
Called by the system, as part of destroying an
activity due to a configuration change, when it is known that a new
instance will immediately be created for the new configuration. |
void onSaveInstanceState(Bundle )
|
Called to retrieve per-instance state from an activity before being killed
so that the state can be restored in .onCreate or
.onRestoreInstanceState (the Bundle populated by this method
will be passed to both). |
void openContextMenu(View )
|
Programmatically opens the context menu for a particular {@code view}. |
void registerForContextMenu(View )
|
Registers a context menu to be shown for the given view (multiple views
can show the context menu). |
void removeDialog(int )
|
Removes any internal references to a dialog managed by this Activity. |
void runOnUiThread(Runnable )
|
Runs the specified action on the UI thread. |
void setProgressBarIndeterminateVisibility(boolean )
|
Sets the visibility of the indeterminate progress bar in the title. |
void setRequestedOrientation(int )
|
Change the desired orientation of this activity. |
void setResult(int, Intent)
|
Call this to set the result that your activity will return to its
caller. |
void setVolumeControlStream(int )
|
Suggests an audio stream whose volume should be changed by the hardware
volume controls. |
void showDialog(int )
|
Show a dialog managed by this activity. |
void startActivityForResult(Intent, int)
|
Launch an activity for which you would like a result when it finished. |
boolean startActivityIfNeeded(Intent, int)
|
A special variation to launch an activity only if a new activity
instance is needed to handle the given Intent. |
boolean startNextMatchingActivity(Intent )
|
Special version of starting an activity, for use when you are replacing
other activity components. |
void unregisterForContextMenu(View )
|
Prevents a context menu to be shown for the given view. |
Changed Methods
|
void onActivityResult(int, int, Intent)
|
Change in signature from (int, int, String, Bundle ) to (int, int, Intent ).
|
Called when an activity you launched exits, giving you the requestCode
you started it with, the resultCode it returned, and any additional
data from it. |
void onConfigurationChanged(Configuration )
|
Change in signature from android.content.Resources.Configuration to android.content.res.Configuration .
Change of visibility from protected to public.
|
Called by the system when the device configuration changes while your
activity is running. |
boolean onContextItemSelected(MenuItem )
|
Change in signature from Item to MenuItem .
|
This hook is called whenever an item in a context menu is selected. |
View onCreateView(String, Context, AttributeSet)
|
Change in signature from (String, Context, AttributeSet, Map ) to (String, Context, AttributeSet ).
Method was inherited from android.app.ApplicationContext, but is now defined locally.
|
Stub implementation of android.view.LayoutInflater.Factory.onCreateView used when
inflating with the LayoutInflater returned by .getSystemService. |
boolean onMenuItemSelected(int, MenuItem)
|
Change in signature from (int, Item ) to (int, MenuItem ).
|
Default implementation of
android.view.Window.Callback.onMenuItemSelected
for activities. |
boolean onOptionsItemSelected(MenuItem )
|
Change in signature from Item to MenuItem .
|
This hook is called whenever an item in your options menu is selected. |
void startSearch(String, boolean, Bundle, boolean)
|
Change in signature from (String, Bundle ) to (String, boolean, Bundle, boolean ).
|
This hook is called to launch the search UI. |