Lines Matching full:contacts
38 For example, to start the Contacts application you can use
39 > adb shell am start -n com.google.android.contacts/.ContactsActivity
45 <p>Each instrumentation test case is similar to an Android application with the distinction that it starts another application. For example, have a look in the <code>tests/Contacts</code> directory. </p>
48 <li> Tests are located in <code>tests/Contacts/src/com/google/android/contactstests</code>. </li>
49 <li> The Instrumentation Test Runner is located at <code>tests/Contacts/src/com/google/android/contactstests/functional/ContactsInstrumentationTestRunner.java</code>.</li>
71 <p> You can find the test case below at <code>device/tests/Contacts.</code></p>
79 values.put(Contacts.People.NAME, name);
80 values.put(Contacts.People.STARRED, star);
83 Uri uri = mActivity.getContentResolver().insert(Contacts.People.CONTENT_URI, values);
84 phoneUri = Uri.withAppendedPath(uri, Contacts.People.Phones.CONTENT_DIRECTORY);
87 values.put(Contacts.Phones.TYPE, phoneType);
88 values.put(Contacts.Phones.NUMBER, number);
89 values.put(Contacts.Phones.LABEL, label);
96 values.put(ContactMethods.KIND, Contacts.KIND_EMAIL);
120 Uri uri = Uri.parse("content://contacts/people/1");