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

Re: Two questions about the Web Intents.

From: Paul Kinlan <paulkinlan@google.com>
Date: Mon, 11 Jun 2012 09:53:42 +0100
Message-ID: <CADGdg3DPB3Au8ZVEse34zOB9dAHXmvsn1339stp5MOCSMz1X8g@mail.gmail.com>
To: Gaowenmei <gaowenmei@huawei.com>
Cc: "public-web-intents@w3.org" <public-web-intents@w3.org>

Some comments inline.

On Mon, Jun 11, 2012 at 8:19 AM, Gaowenmei <gaowenmei@huawei.com> wrote:

>  Hello,everyone:****
> ** **
> I am a newcomer here. These days I was studying the web intents spec and
> felt great interest in this technology. Now I have some small questions,
> and hope someone can help me to clarify the confusion.****
> ** **
> 1) When we click a button in the client page and trigger the
> "startActivity()", UA will pop up a intent list and we will see some
> suggestions there. I am wondering where are the suggestions from? Does the
> UA search the intent services in real time? (for example, Chrome will
> search the suitable intent services from the Chrome web app store?)

The current implementation in Chrome understands the action and the data
type so it can query the Chrome webstore to get a list of suitable apps.
 Claes and others on this list are working on the UPNP discovery for
external networked services that support the same actions on data.

The actual method of suggestions is not too important once you realise that
we have these two key pieces of information we can use to discover
compatible services.  The UA may choose to cache service suggestions, query
a service, or provide no suggestions at all.

> ****
> ** **
> 2) Can the user manually add a URL to the popup intent list as a intent
> service page? Thus, the user can add some intent service pages which are
> found by himself or forwarded by his friends. This will be very useful for
> users.

Not quite, the developer will be able to specify their own suggestions in
the "suggestions" attribute of the Intent constructor object.  With the
current implementation in Chrome you would ask the user to install the app
from the store.

> ****
> ** **
> Hope to get the answer ASAP, thanks very much! :)****
> ** **
> ** **
> Gao Wenmei
> 华为终端有限公司**[image: huawei_logo]** - 终端标准移动终端研究部****
> ** **
> ** **
> 地址:北京市海淀区中关村北清路156号实创科技示范园华为公司Q19 Q19-3-A002S 邮编:100095
> 电话:0086-010-60611718
> 手机:15811285069
> 电子邮件:gaowenmei@huawei.com
> http://www.huawei.com
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from
> HUAWEI, which
> is intended only for the person or entity whose address is listed above.
> Any use of the
> information contained herein in any way (including, but not limited to,
> total or partial
> disclosure, reproduction, or dissemination) by persons other than the
> intended
> recipient(s) is prohibited. If you receive this e-mail in error, please
> notify the sender by
> phone or email immediately and delete it!****
> ** **

Paul Kinlan
Developer Advocate @ Google for Chrome and HTML5
G+: http://plus.ly/paul.kinlan
t: +447730517944
tw: @Paul_Kinlan
LinkedIn: http://uk.linkedin.com/in/paulkinlan
Blog: http://paul.kinlan.me
Skype: paul.kinlan

(image/jpeg attachment: image001.jpg)

Received on Monday, 11 June 2012 08:54:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 11 June 2012 08:54:37 GMT