- From: James Hawkins <jhawkins@chromium.org>
- Date: Wed, 25 Jan 2012 18:30:22 -0800
- To: Paul Kinlan <paulkinlan@google.com>
- Cc: Dave Raggett <dsr@w3.org>, public-web-intents@w3.org
- Message-ID: <CAO800SxJJ9aq9xJbq71B9H++gBU2mv=rNi07bUFnVk1YXqxRWg@mail.gmail.com>
OK I think we're getting closer. Can you explain this in terms of example client(s) and respective service(s)? On Wed, Jan 25, 2012 at 6:28 PM, Paul Kinlan <paulkinlan@google.com> wrote: > I know this email was a little more complex way of interacting with > printing devices, but the simpler case is much like "share" intent > where there a cloud based printing solutions that accept just a PDF or > document, the theory being that you "print" a document and via > webintents it sends it to an API or service that will render it to > paper or something else that can than be mailed to someone. > > I always imagined it to be something like: > + > https://printonline.fedex.com/v2.3.0/?s_kwcid=TC|16501|print%20companies||S|b|9706081275&&cmp=KNC-1000441-003-002-0950-0010000-US-US-EN-GPOL00000000000&x=1&s_kwcid=TC|16501|print%20companies||S|b|9706081275 > Or > Costco's send to print images online and then collect them in the > store ( > http://www.costcophotocenter.com/account/login.aspx?ReturnUrl=%2falbum%2f) > > The verb "save" and "share" doesn't quite fit the intention of the user. > > On Wed, Jan 25, 2012 at 6:07 PM, James Hawkins <jhawkins@chromium.org> > wrote: > > 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 > >> > > > > > > -- > 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 >
Received on Thursday, 26 January 2012 02:31:23 UTC