The moose likes iOS and the fly likes Reading Epub files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Reading Epub files" Watch "Reading Epub files" New topic

Reading Epub files

Sreelal Hamsavahanan

Joined: Jun 29, 2011
Posts: 4
I am trying to develop an iPhone application to read ePub files.
Is there any direct framework available to develop this? .
I tried to load the contents to a UIWebView by unzipping the ePub file and parsing the "container.xml" file inside the package.
So the contents can be viewed now,but i need to show this as page leaves(just like the native Ebook reader app in ipad).Is that possible ?
How can i capture touch events in uiwebview ?

Thanks in advance

Sreelal H
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi Sreelal,

WebView is the easiest option if you want to render Epub files. You can provide the page curl effect on top of that.
At GitHub there is an example to provide such page leaves effect (most similar to iBook).

You will find something surprising in iOS 5.0

Thanks & Regards
Pratik Goswami

iOS * Android Developer
I agree. Here's the link:
subject: Reading Epub files
It's not a secret anymore!