diff --git a/Android.mk b/Android.mk index 1e1e530710604..ded8173854702 100644 --- a/Android.mk +++ b/Android.mk @@ -364,6 +364,8 @@ web_docs_sample_code_flags := \ resources/samples/ApiDemos "API Demos" \ -samplecode $(sample_dir)/BluetoothChat \ resources/samples/BluetoothChat "Bluetooth Chat" \ + -samplecode $(sample_dir)/BusinessCard \ + resources/samples/BusinessCard "Business Card" \ -samplecode $(sample_dir)/ContactManager \ resources/samples/ContactManager "Contact Manager" \ -samplecode $(sample_dir)/Home \ diff --git a/docs/html/resources/resources_toc.cs b/docs/html/resources/resources_toc.cs index 6aaf060ab1f06..f5c573e070cf2 100644 --- a/docs/html/resources/resources_toc.cs +++ b/docs/html/resources/resources_toc.cs @@ -179,6 +179,9 @@
  • Bluetooth Chat new!
  • +
  • + Business Card + new!
  • Contact Manager new!
  • diff --git a/docs/html/resources/samples/images/BusinessCard1.png b/docs/html/resources/samples/images/BusinessCard1.png new file mode 100644 index 0000000000000..55ff7e565c8de Binary files /dev/null and b/docs/html/resources/samples/images/BusinessCard1.png differ diff --git a/docs/html/resources/samples/images/BusinessCard2.png b/docs/html/resources/samples/images/BusinessCard2.png new file mode 100644 index 0000000000000..347c317f185ff Binary files /dev/null and b/docs/html/resources/samples/images/BusinessCard2.png differ diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd index 8ab6f43b9d1dc..0beb7815ffd6c 100644 --- a/docs/html/resources/samples/index.jd +++ b/docs/html/resources/samples/index.jd @@ -42,6 +42,12 @@ platforms) and allow you to view the source files in your browser.

    Bluetooth Chat
    An application for two-way text messaging over Bluetooth.
    +
    BusinessCard
    +
    An 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.
    +
    Contact Manager
    An application that demonstrates how to query the system contacts provider using the ContactsContract API, as