|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.support.v4.content.IntentCompat
public class IntentCompat
Helper for accessing features in Intent
introduced after API level 4 in a backwards compatible fashion.
| Field Summary | |
|---|---|
static String |
ACTION_EXTERNAL_APPLICATIONS_AVAILABLE
Broadcast Action: Resources for a set of packages (which were previously unavailable) are currently available since the media on which they exist is available. |
static String |
ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
Broadcast Action: Resources for a set of packages are currently unavailable since the media on which they exist is unavailable. |
static String |
EXTRA_CHANGED_PACKAGE_LIST
This field is part of Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE,
Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
and contains a string array of all of the components that have changed. |
static String |
EXTRA_CHANGED_UID_LIST
This field is part of Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE,
Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
and contains an integer array of uids of all of the components
that have changed. |
static int |
FLAG_ACTIVITY_CLEAR_TASK
If set in an Intent passed to Context.startActivity(),
this flag will cause any existing task that would be associated with the
activity to be cleared before the activity is started. |
static int |
FLAG_ACTIVITY_TASK_ON_HOME
If set in an Intent passed to Context.startActivity(),
this flag will cause a newly launching task to be placed on top of the current
home activity task (if there is one). |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE
EXTRA_CHANGED_PACKAGE_LIST contains a
list of packages whose availability changed.
The extra data EXTRA_CHANGED_UID_LIST contains a
list of uids of packages whose availability changed.
Note that the
packages in this list do not receive this broadcast.
The specified set of packages are now available on the system.
Includes the following extras:
EXTRA_CHANGED_PACKAGE_LIST is the set of packages
whose resources(were previously unavailable) are currently available.
EXTRA_CHANGED_UID_LIST is the set of uids of the
packages whose resources(were previously unavailable)
are currently available.
This is a protected intent that can only be sent by the system.
public static final String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
EXTRA_CHANGED_PACKAGE_LIST contains a
list of packages whose availability changed.
The extra data EXTRA_CHANGED_UID_LIST contains a
list of uids of packages whose availability changed.
The specified set of packages can no longer be
launched and are practically unavailable on the system.
Inclues the following extras:
EXTRA_CHANGED_PACKAGE_LIST is the set of packages
whose resources are no longer available.
EXTRA_CHANGED_UID_LIST is the set of packages
whose resources are no longer available.
This is a protected intent that can only be sent by the system.
public static final String EXTRA_CHANGED_PACKAGE_LIST
Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE,
Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
and contains a string array of all of the components that have changed.
public static final String EXTRA_CHANGED_UID_LIST
Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE,
Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE
and contains an integer array of uids of all of the components
that have changed.
public static final int FLAG_ACTIVITY_TASK_ON_HOME
Context.startActivity(),
this flag will cause a newly launching task to be placed on top of the current
home activity task (if there is one). That is, pressing back from the task
will always return the user to home even if that was not the last activity they
saw. This can only be used in conjunction with
Intent.FLAG_ACTIVITY_NEW_TASK.
public static final int FLAG_ACTIVITY_CLEAR_TASK
Context.startActivity(),
this flag will cause any existing task that would be associated with the
activity to be cleared before the activity is started. That is, the activity
becomes the new root of an otherwise empty task, and any old activities
are finished. This can only be used in conjunction with
Intent.FLAG_ACTIVITY_NEW_TASK.
This flag will only be obeyed on devices supporting API 11 or higher.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||