On 05/18/2013 03:50 PM, Harald Kirschner wrote:
You could also add a Web Activity to bind your app to "open" LDIF files (from links, email attachments, etc). The PDF app does that for PDF files [1].
For the time-being the e-mail app only will download/open attachments of mime types found in MimeMapper._typeToExtensionMap in https://github.com/mozilla-b2g/gaia/blob/master/shared/js/mime_mapper.js
Currently, this only covers image/audio/video types supported by the device, and *not* PDF types or anything else. The e-mail bug on this is https://bugzilla.mozilla.org/show_bug.cgi?id=825318
The pdf.js app bug (from a Gaia perspective) is https://bugzilla.mozilla.org/show_bug.cgi?id=852849
The fundamental issue lies somewhere between an e-mail UX problem and a lack of platform capabilities to detect mime types supported by installed apps.
Andrew _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
