W3C home > Mailing lists > Public > public-web-intents@w3.org > June 2012

Contacts over Intents demo

From: Robin Berjon <robin@berjon.com>
Date: Thu, 21 Jun 2012 17:29:57 +0200
Message-Id: <AB470A3E-4A9F-46D9-AA1F-363C994F44C2@berjon.com>
To: WebIntents <public-web-intents@w3.org>, "public-device-apis@w3.org public-device-apis@w3.org" <public-device-apis@w3.org>
Hi all,

based on the discussions we had in Shenzhen, as well as some more recent threads here, I've built a really simple demo of Contacts over Intents. You can try it out at:

    http://berjon.com/contacts-intent/

I haven't put the code in DVCS yet but I will. It's currently Chrome-only but I wanted to look at the shim to see if it could work here as well. It doesn't support everything that the spec would, but it does support the basics. The data is fake, but I also have the basics of a version that reads from the local Mac address book which I'll release later.

I think this shows just how simple it is to define a Contacts API atop Intents, and that it works pretty well. Further details are explained on the page. The source for the client and service pages should be relatively easy to look at.

If people like this, I'll update the Contacts spec to be based on the same principles.

Feedback welcome!

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Thursday, 21 June 2012 15:30:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 June 2012 15:30:23 GMT