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>
718 <h3 id="PickContact">Select a contact</h3>
720 <p>To have the user select a contact and provide your app access to all the contact information,
727 <code>content:</code> URI pointing to the selected contact. The response grants
728 your app temporary permissions to read that contact using the <a
732 <p class="note"><strong>Tip:</strong> If you need access to only a specific piece of contact
734 <a href="#PickContactData">select specific contact data</a>.</p>
765 // Do something with the selected contact at contactUri
771 <p>For information about how to retrieve contact details once you have the contact URI,
773 for a Contact</a>. Remember, when you retrieve the contact URI with the above intent, you
775 to read details for that contact.</p>
780 <h3 id="PickContactDat">Select specific contact data</h3>
782 <p>To have the user select a specific piece of information from a contact, such as
787 CommonDataKinds.Phone.CONTENT_TYPE} to get the contact's phone number.</p>
789 <p>If you need to retrieve only one type of data from a contact, this technique with a
799 <code>content:</code> URI pointing to the selected contact data. The response grants
800 your app temporary permissions to read that contact data even if your app does
864 <h3 id="ViewContact">View a contact</h3>
866 <p>To display the details for a known contact, use the {@link android.content.Intent#ACTION_VIEW}
867 action and specify the contact with a {@code content:} URI as the intent data.</p>
869 <p>There are primarily two ways to initially retrieve the contact's URI:</p>
871 <li>Use the contact URI returned by the {@link android.content.Intent#ACTION_PICK},
887 <dd>None. The type is inferred from contact URI.
903 <h3 id="EditContact">Edit an existing contact</h3>
905 <p>To edit a known contact, use the {@link android.content.Intent#ACTION_EDIT}
906 action, specify the contact with a {@code content:} URI
907 as the intent data, and include any known contact information in extras specified by
910 <p>There are primarily two ways to initially retrieve the contact URI:</p>
912 <li>Use the contact URI returned by the {@link android.content.Intent#ACTION_PICK},
928 <dd>The type is inferred from contact URI.
933 so you can populate fields of the contact details.
949 <p>For more information about how to edit a contact, read <a
956 <h3 id="InsertContact">Insert a contact</h3>
958 <p>To insert a new contact, use the {@link android.content.Intent#ACTION_INSERT} action,
960 the MIME type, and include any known contact information in extras specified by
991 <p>For more information about how to insert a contact, read <a