Lines Matching refs:contact
35 <li><a href="#PickContact">Select a contact</a></li>
36 <li><a href="#PickContactDat">Select specific contact data</a></li>
37 <li><a href="#ViewContact">View a contact</a></li>
38 <li><a href="#EditContact">Edit an existing contact</a></li>
39 <li><a href="#InsertContact">Insert a contact</a></li>
727 <h3 id="PickContact">Select a contact</h3>
729 <p>To have the user select a contact and provide your app access to all the contact information,
736 <code>content:</code> URI pointing to the selected contact. The response grants
737 your app temporary permissions to read that contact using the <a
741 <p class="note"><strong>Tip:</strong> If you need access to only a specific piece of contact
743 <a href="#PickContactData">select specific contact data</a>.</p>
774 // Do something with the selected contact at contactUri
780 <p>For information about how to retrieve contact details once you have the contact URI,
782 for a Contact</a>. Remember, when you retrieve the contact URI with the above intent, you
784 to read details for that contact.</p>
789 <h3 id="PickContactDat">Select specific contact data</h3>
791 <p>To have the user select a specific piece of information from a contact, such as
796 CommonDataKinds.Phone.CONTENT_TYPE} to get the contact's phone number.</p>
798 <p>If you need to retrieve only one type of data from a contact, this technique with a
808 <code>content:</code> URI pointing to the selected contact data. The response grants
809 your app temporary permissions to read that contact data even if your app does
873 <h3 id="ViewContact">View a contact</h3>
875 <p>To display the details for a known contact, use the {@link android.content.Intent#ACTION_VIEW}
876 action and specify the contact with a {@code content:} URI as the intent data.</p>
878 <p>There are primarily two ways to initially retrieve the contact's URI:</p>
880 <li>Use the contact URI returned by the {@link android.content.Intent#ACTION_PICK},
896 <dd>None. The type is inferred from contact URI.
912 <h3 id="EditContact">Edit an existing contact</h3>
914 <p>To edit a known contact, use the {@link android.content.Intent#ACTION_EDIT}
915 action, specify the contact with a {@code content:} URI
916 as the intent data, and include any known contact information in extras specified by
919 <p>There are primarily two ways to initially retrieve the contact URI:</p>
921 <li>Use the contact URI returned by the {@link android.content.Intent#ACTION_PICK},
937 <dd>The type is inferred from contact URI.
942 so you can populate fields of the contact details.
958 <p>For more information about how to edit a contact, read <a
965 <h3 id="InsertContact">Insert a contact</h3>
967 <p>To insert a new contact, use the {@link android.content.Intent#ACTION_INSERT} action,
969 the MIME type, and include any known contact information in extras specified by
1000 <p>For more information about how to insert a contact, read <a