


Requires minimum of Android 2.3 EPUB File Format and Parsing an EPUB If you don't know how to set up Eclipse and the Android SDK, go here for instructions.ĭownload the project, unzip and import into Eclipse. 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.

