Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58346DA74 for ; Mon, 20 Aug 2012 10:52:16 +0000 (UTC) Received: (qmail 89328 invoked by uid 500); 20 Aug 2012 10:52:16 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 89164 invoked by uid 500); 20 Aug 2012 10:52:15 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 89135 invoked by uid 99); 20 Aug 2012 10:52:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 10:52:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simon.macdonald@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 10:52:09 +0000 Received: by pbcwy7 with SMTP id wy7so7813475pbc.6 for ; Mon, 20 Aug 2012 03:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=kYyV4Ctu7cgkFcoB/zz9adj2Y0H6Wp4rEF53BWplnFw=; b=RrsTQkkNuU2gbp/qMAzOCu5w+bSpEXWDTA20pRRPwPPlPWN/I9f7ym4J2UnAU3mEZ2 KNZ17/zVTZvH4z98AHXn5ZCBtwBZfQXI9Lyz+XobCTXwRY6s7cX00N+9baxxK6zJSsRw ABz8zkQ//iwdTCjRmLR5gYyA9W22nOQrhNqxj3yDFf0FCJ4PIyCbxLkX4CDHk6xU4+0D b/peom7qgtwK2T6QpWA1ZKm4tPcnmp5R5+e3mDw0LOr5/5GSD11C0DKe4U78af8WuC3a IV2LbqBKNuYaQR4Y9F407qwRmZry+7pP2hYJgQ4oJnb4MBFmcdpZ/xygOq8qRjla641Z MhBQ== Received: by 10.68.239.103 with SMTP id vr7mr34171770pbc.0.1345459907659; Mon, 20 Aug 2012 03:51:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.21.10 with HTTP; Mon, 20 Aug 2012 03:51:26 -0700 (PDT) In-Reply-To: References: <21F4B96DB2DB41D4AE30869499851D87@mg-crea.com> From: Simon MacDonald Date: Mon, 20 Aug 2012 06:51:26 -0400 Message-ID: Subject: Re: Adding a new option to the W3C contactOptions item To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b33da8edb069304c7b04b3c --047d7b33da8edb069304c7b04b3c Content-Type: text/plain; charset=ISO-8859-1 Looking at the bigger picture we need to do a full review of all of the W3C API's we've already implemented and see which ones need to be updated and start scheduling them. Simon Mac Donald http://hi.im/simonmacdonald On Mon, Aug 20, 2012 at 12:50 AM, Shazron wrote: > Thanks Simon for the research into this. I think it makes sense to add > this functionality as part of the "extras" intent as you specified, I > like this approach. > > On Sun, Aug 19, 2012 at 7:55 PM, Simon MacDonald > wrote: > > It's true. It is a major pain for Android as well where your contacts can > > be from Google, Exchange, Twitter, Facebook, etc. I'm not a big fan of > > trying of deviating from the W3C spec. Whenever we've done that we end up > > running into problems see Media and FileTransfer for instance. > > > > Instead, if you look at the latest version of the Contacts API spec: > > > > http://www.w3.org/TR/contacts-api/ > > > > You now search for contacts using WebIntents ( > > http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html). It > > would make more sense to me that we move towards the new spec. As part of > > that spec when searching for a contact you can pass in "extras" one of > > those "extras" could be the contact account type that you want to search > > for. > > > > Comments? > > > > Simon Mac Donald > > http://hi.im/simonmacdonald > > > > > > On Sat, Aug 18, 2012 at 6:12 PM, Olivier Louvignes >wrote: > > > >> I've needed to be able to filter the "account source" when using > >> `navigator.contacts.find(contactFields, contactSuccess, contactError, > >> contactFindOptions);`. > >> So I created a patch a submitted a PR on github ( > >> https://github.com/apache/incubator-cordova-ios/pull/33). However, > Becky > >> Gibson was reluctant to proceed with the merge as it deviated from the > W3C > >> spec. > >> So I've been asked to bring this up here for further debate : > >> > >> My point : > >> > >> Every mobile OS as a per-account contact setup, being able to filter out > >> some accounts (ie. Exchange) can lead to a real boost in performance for > >> our mobile apps (as a few thousand contacts eat up quite a lot of memory > >> once loaded). > >> Wouldn't it be cordova's role, to implement this (in a non-breaking > way) & > >> to bring this up to the W3C as something needed that requires > >> standardization? Browser vendors do not wait for the W3C to freeze > things. > >> > >> Regards, > >> Olivier > >> > --047d7b33da8edb069304c7b04b3c--