Infallible Logic

29Dec/090

O’Reilly Has Released A Ton Of Books To The Android Market [Updated 12/30]

I'm not quite sure when this happened, but O'Reilly (in partnership with Aldiko) has released quite a number of books to the Android market. Not only is there a pretty vast selection, but these books are priced extremely well, ranging from $2.99 to $5.99 for complete books.

I picked up the Java Pocket Guide for three bucks and it was well worth the money. Near as I can tell, these are complete versions of the books at hand, and they're all running with the very slick Aldiko UI, which has many configuration options for font sizes and other reading preferences, as well as the ability to bookmark and view a table-of-contents and other things.

For those of you that have a debug or rooted phone (or the ability to pull APKs off your phone via ADB), you'll find that the files are also just split up via HTML, with an XML-based table-of-contents. I've created a quick XSLT file you can use to transform the TOC into a basic HTML file so you can browse the book on your computer if you want. You'll need to make one change to the toc.ncx file, right below the <?xml?> tag:

Then put this file in the same directory and name it 'toc.xslt' (note that I haven't used XSLT or much Javascript in like 8 years, so this may suck). I've updated it to include some basic javascript for easier navigation between the pages!

I've admittedly only tried this with one book, but I can't imagine the rest use a different format.

Aldiko Book Reader:

Java Pocket Guide: