FileDocCategorySizeDatePackage
ContactsLiveFolders.javaAPI DocAndroid 1.5 API4009Wed May 06 22:42:44 BST 2009com.android.contacts

ContactsLiveFolders

public class ContactsLiveFolders extends Object

Fields Summary
Constructors Summary
Methods Summary
private static android.content.IntentcreateLiveFolder(android.content.Context context, android.net.Uri uri, java.lang.String name, int icon)


        final Intent intent = new Intent();

        intent.setData(uri);
        intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_BASE_INTENT, new Intent(Intent.ACTION_VIEW,
                Contacts.People.CONTENT_URI));
        intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_NAME, name);
        intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_ICON,
                Intent.ShortcutIconResource.fromContext(context, icon));
        intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_DISPLAY_MODE, LiveFolders.DISPLAY_MODE_LIST);

        return intent;