IT. Expert System.

Android Reference

ContactsContract.QuickContact


android.provider

Class ContactsContract.QuickContact

  • Enclosing class:
    ContactsContract


    public static final class ContactsContract.QuickContact
    extends Object
    Helper methods to display QuickContact dialogs that allow users to pivot on a specific Contacts entry.
    • Field Detail

      • ACTION_QUICK_CONTACT

        public static final String ACTION_QUICK_CONTACT
        Action used to trigger person pivot dialog.
        See Also:
        Constant Field Values
      • EXTRA_EXCLUDE_MIMES

        public static final String EXTRA_EXCLUDE_MIMES
        Extra used to indicate a list of specific MIME-types to exclude and not display. Stored as a String array.
        See Also:
        Constant Field Values
      • MODE_SMALL

        public static final int MODE_SMALL
        Small QuickContact mode, usually presented with minimal actions.
        See Also:
        Constant Field Values
      • MODE_MEDIUM

        public static final int MODE_MEDIUM
        Medium QuickContact mode, includes actions and light summary describing the Contacts entry being shown. This may include social status and presence details.
        See Also:
        Constant Field Values
      • MODE_LARGE

        public static final int MODE_LARGE
        Large QuickContact mode, includes actions and larger, card-like summary of the Contacts entry being shown. This may include detailed information, such as a photo.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContactsContract.QuickContact

        public ContactsContract.QuickContact()
    • Method Detail

      • composeQuickContactsIntent

        public static Intent composeQuickContactsIntent(Context context,
                                        View target,
                                        Uri lookupUri,
                                        int mode,
                                        String[] excludeMimes)
        Constructs the QuickContacts intent with a view's rect.
      • composeQuickContactsIntent

        public static Intent composeQuickContactsIntent(Context context,
                                        Rect target,
                                        Uri lookupUri,
                                        int mode,
                                        String[] excludeMimes)
        Constructs the QuickContacts intent.
      • showQuickContact

        public static void showQuickContact(Context context,
                            View target,
                            Uri lookupUri,
                            int mode,
                            String[] excludeMimes)
        Trigger a dialog that lists the various methods of interacting with the requested Contacts entry. This may be based on available ContactsContract.Data rows under that contact, and may also include social status and presence details.
        Parameters:
        context - The parent Context that may be used as the parent for this dialog.
        target - Specific View from your layout that this dialog should be centered around. In particular, if the dialog has a "callout" arrow, it will be pointed and centered around this View.
        lookupUri - A ContactsContract.Contacts.CONTENT_LOOKUP_URI style Uri that describes a specific contact to feature in this dialog.
        mode - Any of MODE_SMALL, MODE_MEDIUM, or MODE_LARGE, indicating the desired dialog size, when supported.
        excludeMimes - Optional list of ContactsContract.DataColumns.MIMETYPE MIME-types to exclude when showing this dialog. For example, when already viewing the contact details card, this can be used to omit the details entry from the dialog.
      • showQuickContact

        public static void showQuickContact(Context context,
                            Rect target,
                            Uri lookupUri,
                            int mode,
                            String[] excludeMimes)
        Trigger a dialog that lists the various methods of interacting with the requested Contacts entry. This may be based on available ContactsContract.Data rows under that contact, and may also include social status and presence details.
        Parameters:
        context - The parent Context that may be used as the parent for this dialog.
        target - Specific Rect that this dialog should be centered around, in screen coordinates. In particular, if the dialog has a "callout" arrow, it will be pointed and centered around this Rect. If you are running at a non-native density, you need to manually adjust using DisplayMetrics.density before calling.
        lookupUri - A ContactsContract.Contacts.CONTENT_LOOKUP_URI style Uri that describes a specific contact to feature in this dialog.
        mode - Any of MODE_SMALL, MODE_MEDIUM, or MODE_LARGE, indicating the desired dialog size, when supported.
        excludeMimes - Optional list of ContactsContract.DataColumns.MIMETYPE MIME-types to exclude when showing this dialog. For example, when already viewing the contact details card, this can be used to omit the details entry from the dialog.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 451 / . Delta: 0.03130 с