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

Re: Proposal for using web intents for a print intent

From: James Hawkins <jhawkins@chromium.org>
Date: Wed, 25 Jan 2012 18:07:05 -0800
Message-ID: <CAO800SyM1E9P1Mt7Kt7hcLV=0ceb4awkBK2309jkyMeAYMOzpA@mail.gmail.com>
To: Dave Raggett <dsr@w3.org>
Cc: public-web-intents@w3.org
What is the use case for this?  What I'm really asking is what do you need
that is not handled by existing browser printing, e.g., window.print?

Thanks,
James

On Wed, Jan 25, 2012 at 3:51 AM, Dave Raggett <dsr@w3.org> wrote:

> I spotted an error in my example:
>
> On 25/01/12 11:40, Dave Raggett wrote:
>
> > // now start the activity and redirect
> > // the onSuccess, and onFail functions
> > // to methods on the intent data object
> >
> > window.navigator.startActivity(intent,
> >   function (data) { intent.success(data); },
> >   function (data) { intent.fail(data); }
> > );
>
> Should have been:
>
> window.navigator.startActivity(intent,
>  function (data) { intent.data.success(data); },
>  function (data) { intent.data.fail(data); }
> );
>
> sorry about that.
> --
> Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
>
>
Received on Thursday, 26 January 2012 02:08:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 January 2012 02:08:04 GMT