Fields Summary |
---|
public static final String | NAME Content provider column.
Name of the live folder item.
Required.
Type: String. |
public static final String | DESCRIPTION Content provider column.
Description of the live folder item. This value is ignored if the
live folder's display mode is {@link LiveFolders#DISPLAY_MODE_GRID}.
Optional.
Type: String. |
public static final String | INTENT Content provider column.
Intent of the live folder item.
Optional if the live folder has a base intent.
Type: {@link android.content.Intent}. |
public static final String | ICON_BITMAP Content provider column.
Icon of the live folder item, as a custom bitmap.
Optional.
Type: {@link android.graphics.Bitmap}. |
public static final String | ICON_PACKAGE Content provider column.
Package where to find the icon of the live folder item. This value can be
obtained easily using
{@link android.content.Intent.ShortcutIconResource#fromContext(android.content.Context, int)}.
Optional.
Type: String. |
public static final String | ICON_RESOURCE Content provider column.
Resource name of the live folder item. This value can be obtained easily using
{@link android.content.Intent.ShortcutIconResource#fromContext(android.content.Context, int)}.
Optional.
Type: String. |
public static final int | DISPLAY_MODE_GRIDDisplays a live folder's content in a grid. |
public static final int | DISPLAY_MODE_LISTDisplays a live folder's content in a list. |
public static final String | EXTRA_LIVE_FOLDER_NAMEThe name of the extra used to define the name of a live folder. |
public static final String | EXTRA_LIVE_FOLDER_ICONThe name of the extra used to define the icon of a live folder. |
public static final String | EXTRA_LIVE_FOLDER_DISPLAY_MODEThe name of the extra used to define the display mode of a live folder. |
public static final String | EXTRA_LIVE_FOLDER_BASE_INTENTThe name of the extra used to define the base Intent of a live folder. |
public static final String | ACTION_CREATE_LIVE_FOLDERActivity Action: Creates a live folder.
Input: Nothing.
Output: An Intent representing the live folder. The intent must contain four
extras: EXTRA_LIVE_FOLDER_NAME (value: String),
EXTRA_LIVE_FOLDER_ICON (value: ShortcutIconResource),
EXTRA_LIVE_FOLDER_URI (value: String) and
EXTRA_LIVE_FOLDER_DISPLAY_MODE (value: int). The Intent can optionnally contain
EXTRA_LIVE_FOLDER_BASE_INTENT (value: Intent). |