W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2010

Re: Draft minutes, F2F Day 2 2010-11-05 (resend, email header correction)

From: Simon MacDonald <simon.macdonald@gmail.com>
Date: Fri, 5 Nov 2010 16:39:17 -0400
Message-ID: <AANLkTinRtiL+vE30LhY6oxAzUw=BiLTN+y7tKEbjuLBm@mail.gmail.com>
To: Frederick.Hirsch@nokia.com
Cc: public-device-apis@w3.org
Hi all,

Regarding the problem with write back access to a contact I would like to
share with you something that is working in practice for me on the Android
and iPhone platforms.  What I have done is to add an "id" property to the
ContactField, ContactAddress and ContactOrganization interfaces.

Both Android and iPhone store unique identifiers for data like phone,
emails, urls.  By returning this unique value to the browser as the "id"
property it allows me to determine if this is an existing phone, that is the
id is a non-null value, or a brand new phone, that is the id value is null.
 This has enabled me to save a contact and do a modify or insert of the
users phone numbers as required.

If possible, I'd love to see "id" be added to those interfaces.  If not as
least we have a solution.

What I'm still struggling with is the deletion of data.  For that I think we
need another function.

Also, in section "5.1 Search Qualifiers" it specifies that zero length
search qualifier should return any properties in the resulting Contact
objects.  Is there a way to specify a search qualifier that will return all
properties in the resulting Contact objects?

Simon Mac Donald
http://hi.im/simonmacdonald


On Fri, Nov 5, 2010 at 1:07 PM, <Frederick.Hirsch@nokia.com> wrote:

> Attached are draft minutes, F2F Day 2 2010-11-05. HTML follows text. Thanks
> to Laszlo,  Claes, David R and Rich  for scribing.
>
> Please review and note any corrections on the list.
>
> regards, Frederick
>
> Frederick Hirsch, Nokia
> Co-Chair, W3C DAP Working Group
>
>
>
>
Received on Friday, 5 November 2010 20:39:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:15 GMT