On Thursday, August 29, 2013 1:20:11 PM UTC-4, [email protected] wrote:
> Hi folks,
> 
> I'm new to Firefox OS and will be building an app for schools in Africa where 
> opening PDFs is extremely important. I see from the Web Activities API 
> documentation 
> (https://developer.mozilla.org/en-US/docs/WebAPI/Web_Activities) that it can 
> be used to open a file of type PDF.  I have a number of questions about PDFs 
> and Firefox OS, perhaps we could turn this thread into a wiki page on 
> developer.mozilla.org.  
> 
> 
> 
> @Horst Klier, you are using an anchor tag to open a PDF?  Are the results 
> different from using Web Activities to open PDFs?
> 
> 
> 
> Does Firefox OS open the PDF in a separate App or does it open it in the 
> context of your App?  
> 
> 
> 
> When the PDF opens, what is being used at the underlying rendering engine 
> (ie. PDF.js or a native Linux PDF rendering binary)? 
> 
> 
> 
> Thanks for any help! :-)
> 
> 
> 
> Be well,
> 
> R.J. Steinert
> 
> Open Learning Exchange
> 
> http://ole.org
> 
> 
> 
> 
> 
> On Monday, August 12, 2013 1:11:48 PM UTC-4, Fabrice Desre wrote:
> 
> > On 08/12/2013 03:44 AM, Alexandre Lissy wrote:
> 
> > 
> 
> > 
> 
> > 
> 
> > > Yet, according to the RFC, your Content-Disposition is okay:
> 
> > 
> 
> > > http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Doesn't it smell like a bug?
> 
> > 
> 
> > 
> 
> > 
> 
> > It's https://bugzilla.mozilla.org/show_bug.cgi?id=902023 (and
> 
> > 
> 
> > https://bugzilla.mozilla.org/show_bug.cgi?id=876769)
> 
> > 
> 
> > 
> 
> > 
> 
> >     Fabrice
> 
> > 
> 
> > -- 
> 
> > 
> 
> > Fabrice Desré
> 
> > 
> 
> > b2g team
> 
> > 
> 
> > Mozilla Corporation

Looking through Bugzilla, I see that the B2G Project has a component called 
Gaia:PDF Viewer that seems to use PDF.js.  Bug 852849 suggests there is some 
support for Web Activities which means that documented PDF activity might be 
utilizing the Gaia:PDF Viewer component.  I'm wondering if there is a 
documentation for these components. If not, then perhaps we should write some 
documentation for the Gaia:PDF Viewer component and link to it from the Web 
Activity documentation where it mentions the PDF Activity.

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to