IT. Expert System.

Android Reference

ContactsContract.Intents


android.provider

Class ContactsContract.Intents

  • Enclosing class:
    ContactsContract


    public static final class ContactsContract.Intents
    extends Object
    Contains helper classes used to create or manage Intents that involve contacts.
    • Field Detail

      • SEARCH_SUGGESTION_CLICKED

        public static final String SEARCH_SUGGESTION_CLICKED
        This is the intent that is fired when a search suggestion is clicked on.
        See Also:
        Constant Field Values
      • SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED

        public static final String SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED
        This is the intent that is fired when a search suggestion for dialing a number is clicked on.
        See Also:
        Constant Field Values
      • SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED

        public static final String SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED
        This is the intent that is fired when a search suggestion for creating a contact is clicked on.
        See Also:
        Constant Field Values
      • ATTACH_IMAGE

        public static final String ATTACH_IMAGE
        Starts an Activity that lets the user pick a contact to attach an image to. After picking the contact it launches the image cropper in face detection mode.
        See Also:
        Constant Field Values
      • INVITE_CONTACT

        public static final String INVITE_CONTACT
        This is the intent that is fired when the user clicks the "invite to the network" button on a contact. Only sent to an activity which is explicitly registered by a contact provider which supports the "invite to the network" feature.

        Intent.getData() contains the lookup URI for the contact.

        See Also:
        Constant Field Values
      • SHOW_OR_CREATE_CONTACT

        public static final String SHOW_OR_CREATE_CONTACT
        Takes as input a data URI with a mailto: or tel: scheme. If a single contact exists with the given data it will be shown. If no contact exists, a dialog will ask the user if they want to create a new contact with the provided details filled in. If multiple contacts share the data the user will be prompted to pick which contact they want to view.

        For mailto: URIs, the scheme specific portion must be a raw email address, such as one built using Uri.fromParts(String, String, String).

        For tel: URIs, the scheme specific portion is compared to existing numbers using the standard caller ID lookup algorithm. The number must be properly encoded, for example using Uri.fromParts(String, String, String).

        Any extras from the ContactsContract.Intents.Insert class will be passed along to the create activity if there are no contacts to show.

        Passing true for the EXTRA_FORCE_CREATE extra will skip prompting the user when the contact doesn't exist.

        See Also:
        Constant Field Values
      • ACTION_PROFILE_CHANGED

        public static final String ACTION_PROFILE_CHANGED
        A broadcast action which is sent when any change has been made to the profile, such as the profile name or the picture. A receiver must have the android.permission.READ_PROFILE permission.
        See Also:
        Constant Field Values
      • EXTRA_FORCE_CREATE

        public static final String EXTRA_FORCE_CREATE
        Used with SHOW_OR_CREATE_CONTACT to force creating a new contact if no matching contact found. Otherwise, default behavior is to prompt user with dialog before creating.

        Type: BOOLEAN

        See Also:
        Constant Field Values
      • EXTRA_CREATE_DESCRIPTION

        public static final String EXTRA_CREATE_DESCRIPTION
        Used with SHOW_OR_CREATE_CONTACT to specify an exact description to be shown when prompting user about creating a new contact.

        Type: STRING

        See Also:
        Constant Field Values
      • EXTRA_PHONE_URIS

        public static final String EXTRA_PHONE_URIS
        Used with ACTION_GET_MULTIPLE_PHONES as the input or output value.

        The phone numbers want to be picked by default should be passed in as input value. These phone numbers could belong to the contacts or not.

        The phone numbers which were picked by the user are returned as output value.

        Type: array of URIs, the tel URI is used for the phone numbers which don't belong to any contact, the content URI is used for phone id in contacts.

        See Also:
        Constant Field Values
    • Constructor Detail

      • ContactsContract.Intents

        public ContactsContract.Intents()


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: 270 / 158766168. Delta: 0.04312 с