
Mime Types Manager
Note: This page presents information about tooling available to manage mime type mappings in support of non-ePub book types. To see more details about how more book types work with eLibrary Manager, see the following links:
If you have configured eLibrary Manager to manage books of type other than ePub, it passes control onto the Android system to launch external reader applications that can display those book types when you open the book. As part of this handoff, eLibrary Manager provides as much information as it can to the system so that an appropriate app can be selected. If the mime type (aka content type) of the book is known based on the file extension, that additional information is provided.
eLibrary Manager manages a set of file extension to mime type mappings to aid in opening external reader applications. If a mime type is known for the book type, that information is provided to the system so it can make an appropriate selection of application.
To ensure that you always have easy access to managing mime type definitions, eLibrary Manager provides a Mime Types Manager view where you can manage those definitions.
eLibrary Manager bundles a set of pre-defined mime type definitions that are available for use out of the box. You can add more mappings by adding new definitions, or override bundled definitions by simply adding new entries with the same names, or by disabling those entries.
The location and name of the mime type definition file, if you have the full version of eLibrary Manager, is
/Android/data/kpw.ebook/files/mimetype/mimetype.txtAnd if you have the free version of eLibrary Manager, it is
/Android/data/kpw.ebook0/files/mimetype/mimetype.txtBundled pre-configured mime type definitions include:
epub=application/epub+zip
azw=application/vnd.amazon.ebook
azw1=application/x-topaz-ebook
azw3=application/x-mobipocket-ebook
tpz=application/x-topaz-ebook
doc=application/msword
docx=application/vnd.openxmlformats-officedocument.wordprocessingml.document
xls=application/vnd.ms-excel
xlsx=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
ppt=application/vnd.ms-powerpoint
pptx=application/vnd.openxmlformats-officedocument.presentationml.presentation
mobi=application/x-mobipocket-ebook
pdb=application/vnd.palm
pdf=application/pdf
prc=application/x-mobipocket-ebook
rtf=application/rtf
txt=text/plain
html=text/html
htm=text/html
fb2=text/xml
lit=application/x-ms-reader
lrf=application/x-sony-bbeb
cbr=application/x-cbr
cbz=application/x-cbz
Add
The "Add" action on the action bar and floating action button allows you to add a custom mime type definition. This action launches a dialog where you can set the name and value for an entry. If an entry already exists with that name, the new one will replace it. This is true when overriding bundled pre-defined entries as well.
Disable
Bundled pre-defined mime type entries have a toggle to allow you to disable the entry, or re-enable it if it was previously disabled.
Actions
Invoke a context menu of action options by long-pressing a list item. The actions that are available are