dap commit: Jungkee Song added as editor. Modified types in dictionary. Changed Intent type string.

changeset:   219:ec6aa35ffeae
tag:         tip
user:        Jungkee Song <jungkee.song@samsung.com>
date:        Thu Sep 13 20:58:29 2012 +0900
files:       contacts/Overview.html
description:
Jungkee Song added as editor. Modified types in dictionary. Changed Intent type string.


diff -r 91fac8e4ff74 -r ec6aa35ffeae contacts/Overview.html
--- a/contacts/Overview.html	Thu Sep 06 15:10:18 2012 -0700
+++ b/contacts/Overview.html	Thu Sep 13 20:58:29 2012 +0900
@@ -16,7 +16,11 @@
                         {name: "Robin Berjon",
                         url: "http://berjon.com/", 
                         company: "Robineko", 
-                        companyURL: "http://robineko.com/"}
+                        companyURL: "http://robineko.com/"},
+                        {name: "송정기(Jungkee Song)",
+                        url: "mailto:jungkee.song@samsung.com", 
+                        company: "Samsung Electronics Co., Ltd.", 
+                        companyURL: "http://www.samsung.com/sec/"}
                       ],
               // previousPublishDate:  "2011-06-16",
               // lcEnd:  "2011-07-14",
@@ -88,8 +92,8 @@
         The following code illustrates how to obtain contact information from a user's address book:
       </p>
       <pre class="example highlight">
-        var intent = new Intent({ action:   "http://webintents.org/pick",
-                                  type:     "http://w3.org/type/contact",
+        var intent = new Intent({ action:   "http://intents.w3.org/pick",
+                                  type:     "http://intents.w3.org/type/contact",
                                   extras:   { fields: ["displayName", "emails"] }});
         navigator.startActivity(intent, contactsOK, contactsFail);
 
@@ -208,10 +212,10 @@
     <section>
       <h2>Intent Description</h2>
       <p>
-        The action for this Intent is <code>http://webintents.org/pick</code>.
+        The action for this Intent is <code>http://intents.w3.org/pick</code>.
       </p>
       <p>
-        The type for this Intent is <code>http://w3.org/type/contact</code>.
+        The type for this Intent is <code>http://intents.w3.org/type/contact</code>.
       </p>
       <p>
         When a <a>contact service</a> is matched for delivery using these action and type, it
@@ -240,18 +244,18 @@
             The <a>ContactIntentExtras</a> dictionary describes the options that can be applied to contact searching.
           </p>
           <dl title='dictionary ContactIntentExtras' class='idl'>
-            <dt>DOMString? search</dt>
+            <dt>DOMString search</dt>
             <dd>
               A string which provides a hint to the <a>contact service</a> to facilitate contacts selection by the user.
               The exact manner in which this hint is exploited is entirely up to the <a>contact service</a>.
             </dd>
-            <dt>unsigned long? limit</dt>
+            <dt>unsigned long limit</dt>
             <dd>
               By default a <a>contact service</a> MAY return as many contacts as the user selects. If <code>limit</code>
               is specified, the <a>contact service</a> MUST NOT return more than <code>limit</code> contacts. The
               <a>contact service</a> SHOULD enforce this limitation in the user interface that it exposes.
             </dd>
-            <dt>DOMString[] fields</dt>
+            <dt>sequence&lt;DOMString&gt; fields</dt>
             <dd>
               An array of field names corresponding to the name of the fields in the <a>Contact</a> dictionary that
               the Web application is requesting from the <a>contact service</a>. The <a>contact service</a> MUST
@@ -285,53 +289,53 @@
           <dd>
             A globally unique identifier for the given <a>Contact</a> object. 
           </dd>
-          <dt>DOMString? displayName</dt>
+          <dt>DOMString displayName</dt>
           <dd>
             This attribute contains the name of this <a>Contact</a> in a form that is suitable for display 
             to the user.
           </dd>
-          <dt>ContactName? name</dt>
+          <dt>ContactName name</dt>
           <dd>
             This attribute represents the full name of this <a>Contact</a> indicated by the name components 
             associated with the <a>ContactName</a> dictionary.
           </dd>
-          <dt>DOMString? nickname</dt>
+          <dt>DOMString nickname</dt>
           <dd>
             This attribute contains the nickname (or a casual name) for this <a>Contact</a>.
           </dd>
-          <dt>ContactField[]? phoneNumbers</dt>
+          <dt>sequence&lt;ContactField&gt; phoneNumbers</dt>
           <dd>
             This attribute captures one or more phone numbers associated with this <a>Contact</a>.
           </dd>
-          <dt>ContactField[]? emails</dt>
+          <dt>sequence&lt;ContactField&gt; emails</dt>
           <dd>
             This attribute represents one or more email addresses associated with this <a>Contact</a>.
           </dd>
-          <dt>ContactAddress[]? addresses</dt>
+          <dt>sequence&lt;ContactAddress&gt; addresses</dt>
           <dd>
             This attribute represents one or more physical addresses associated with this <a>Contact</a>.
           </dd>
-          <dt>ContactField[]? ims</dt>
+          <dt>sequence&lt;ContactField&gt; ims</dt>
           <dd>
             This attribute represents one or more instant messaging identifiers associated with this
             <a>Contact</a>.
           </dd>
-          <dt>ContactOrganization[]? organizations</dt>
+          <dt>sequence&lt;ContactOrganization&gt; organizations</dt>
           <dd>
             This attribute represents one or more organisations associated with this <a>Contact</a>.
           </dd>
-          <dt>Date? birthday</dt>
+          <dt>Date birthday</dt>
           <dd>
             This attribute contains birthday of this <a>Contact</a>. The <a>contact service</a> MAY
             set the year value to 0000 when the age of the <a>Contact</a> is private or the year is not
             available.
           </dd>
-          <dt>DOMString? note</dt>
+          <dt>DOMString note</dt>
           <dd>
             This attribute contains the personal notes (free-text) for this <a>Contact</a> that is managed by the
             user of the address book.
           </dd>
-          <dt>ContactField[]? photos</dt>
+          <dt>sequence&lt;ContactField&gt; photos</dt>
           <dd>
             <p>
               This attribute represents one or more photos associated with this <a>Contact</a>.
@@ -347,12 +351,12 @@
               contact.
             </p>
           </dd>
-          <dt>DOMString[]? categories</dt>
+          <dt>sequence&lt;DOMString&gt; categories</dt>
           <dd>
             This attribute contains one or more user-defined categories/tags/labels associated with this
             <a>Contact</a>. e.g. "family", "favourite", "cryptozoologists".
           </dd>
-          <dt>ContactField[]? urls</dt>
+          <dt>sequence&lt;ContactField&gt; urls</dt>
           <dd>
             <p>
               This attribute represents one or more URLs associated with this <a>Contact</a> e.g. personal web page, 
@@ -368,23 +372,23 @@
           The <a>ContactName</a> dictionary describes a contact's name in detail.
         </p>
         <dl title='dictionary ContactName' class='idl'>
-          <dt>DOMString? familyName</dt>
+          <dt>DOMString familyName</dt>
           <dd>
             This attribute contains the family name (also referred to as the last name) of this <a>Contact</a>.
           </dd>
-          <dt>DOMString? givenName</dt>
+          <dt>DOMString givenName</dt>
           <dd>
             This attribute contains the given name (also referred to as the first name) of this <a>Contact</a>.
           </dd>
-          <dt>DOMString? middleName</dt>
+          <dt>DOMString middleName</dt>
           <dd>
             This attribute contains the middle name of this <a>Contact</a>.
           </dd>
-          <dt>DOMString? honorificPrefix</dt>
+          <dt>DOMString honorificPrefix</dt>
           <dd>
             This attribute contains the honorific prefix (or title) of this <a>Contact</a>. E.g. Mr., Dr., Ms., Mrs.
           </dd>
-          <dt>DOMString? honorificSuffix</dt>
+          <dt>DOMString honorificSuffix</dt>
           <dd>
             This attribute contains the honorific suffix of this <a>Contact</a>. E.g. Jr., III, Sr.
           </dd>
@@ -407,7 +411,7 @@
             <code>home</code>, <code>mobile</code>; if the <a>ContactField</a> is representing the <code>ims</code> 
             property, the type attribute could be set to <code>xmpp</code>, <code>irc</code>, <code>bbm</code>, etc.
           </dd>
-          <dt>DOMString? value</dt>
+          <dt>DOMString value</dt>
           <dd>
             This attribute contains the value for this <a>ContactField</a> and its content varies subject to the
             contact property this <a>ContactField</a> is representing. For example, if the <a>ContactField</a> is 
@@ -436,28 +440,28 @@
             This attribute indicates whether this instance of the <code>ContactAddress</code> is the preferred, 
             or primary, value for the contact. By default, the value is <code>false</code>.
           </dd>
-          <dt>DOMString? type</dt>
+          <dt>DOMString type</dt>
           <dd>
             This attribute contains the type of address this object is representing (e.g. <code>work</code>, 
             <code>home</code>, <code>premises</code>, etc).
           </dd>
-          <dt>DOMString? streetAddress</dt>
+          <dt>DOMString streetAddress</dt>
           <dd>
             This attribute contains the street address corresponding to this <a>ContactAddress</a>.
           </dd>
-          <dt>DOMString? locality</dt>
+          <dt>DOMString locality</dt>
           <dd>
             This attribute contains the locality (or city) name corresponding to this <a>ContactAddress</a>.
           </dd>
-          <dt>DOMString? region</dt>
+          <dt>DOMString region</dt>
           <dd>
             This attribute contains the region (or state/province) name corresponding to this <a>ContactAddress</a>.
           </dd>
-          <dt>DOMString? postalCode</dt>
+          <dt>DOMString postalCode</dt>
           <dd>
             This attribute contains the postal code (or zip) corresponding to this <a>ContactAddress</a>.
           </dd>
-          <dt>DOMString? country</dt>
+          <dt>DOMString country</dt>
           <dd>
             This attribute contains the country name corresponding to this <a>ContactAddress</a>.
           </dd>
@@ -476,19 +480,19 @@
             This attribute indicates whether this instance of the <code>ContactOrganization</code> is the preferred, or 
             primary, value for the contact. By default, the value is <code>false</code>.
           </dd>
-          <dt>DOMString? type</dt>
+          <dt>DOMString type</dt>
           <dd>
             This attribute contains the type of organisation this object is representing. 
           </dd>
-          <dt>DOMString? name</dt>
+          <dt>DOMString name</dt>
           <dd>
             The name of the organisation.
           </dd>
-          <dt>DOMString? department</dt>
+          <dt>DOMString department</dt>
           <dd>
             The department within which this <a>Contact</a> works.
           </dd>
-          <dt>DOMString? title</dt>
+          <dt>DOMString title</dt>
           <dd>
             The job title that the <a>Contact</a> holds inside this organisation.
           </dd>

Received on Thursday, 13 September 2012 11:59:58 UTC