A sample application that demonstrates how to launch the built-in contact picker from within an activity. This sample also uses reflection to ensure that the correct version of the contacts API is used, depending on which API level the application is running under.
You can find the source code for this sample in your SDK at:
<sdk>/platforms/android-<version>/samples/