minimal SVG support, not all manifest attributes.) Only supporting EPUB 2.0 (and a limited set at that, e.g.Language is English (only really relevant for Text to Speech).All files are UTF-8, don't handle UTF-16.Using Parcelable to package data into an intent, for passing to an activity.Ĭaution, as this project is intended to show the basics of viewing an EPUB file, there's a number of simplifying assumptions I've made.Converting a SAX parser's output back into XML.How to set up a chain of XMLFilters to process an XML document with a SAX parser.Adding "Fling" gesture handling to the WebClient.Restoring the scroll position, when a document is reloaded. Getting the current scroll position of the HTML document.Web Client differences between Android 2.3 and 3.0.Using Android 3.0's shouldInterceptRequest() to fetch the HTML to display.How to use the android WebClient to display HTML, including:.How to use the android.sax library to parse an EPUB file.A summary of the EPUB file format, and the steps involved in reading it.Using Android's Text to Speech API to read the book aloud.Ability to set a bookmark and return to the bookmark.A "list view" of the book's Table of Contents (ToC), with the ability to select a ToC entry, and jump to it.This application shows the basics of building an EPUB file viewer for Android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |