Epub/Ebook/PDF Reader

I currently use Nimblekit to program most of my iphone/ipad apps and I have been playing around with Corona trying to recreate the apps in it.

I have two big hurdles beyond learning more LUA at this point.

My apps have “Push Notifications” from UrbanAirship enabled and I don’t see that it is supported yet in Corona.

The other big one is Epub/PDF reader. My apps come with tableview lists of large ebooks that either load in a custom objective-c PDF reader or call iBooks to open them. These are not like short comic books these are 400-600 page Bar Exam study guides.

Any way to replicate this in Corona? [import]uid: 18783 topic_id: 9351 reply_id: 309351[/import]

Anyone have any ideas on this? [import]uid: 18783 topic_id: 9351 reply_id: 34455[/import]

Did you ever find a way for loading your epub material into an app? [import]uid: 6551 topic_id: 9351 reply_id: 96414[/import]

I don’t think that ePub support is something that can be done in Corona right now. While ePub files are just basically HTML, which could be displayed in Corona, ePub files are actually ZIP archives.

And Corona currently doesn’t have a way to unZIP archives. [import]uid: 17827 topic_id: 9351 reply_id: 97623[/import]

I’m actually making progress on this project.
First, unzip the epub by changing the extension to .zip
This allows you to work with the straight files. I’m now working on xml parsing using xml.lua. Failing that I will probably use the webpopup widget.

BTW, if you want to know if you have properly formatted your epub files, unzipping them lets you see your mistakes really quick!

[import]uid: 6551 topic_id: 9351 reply_id: 97625[/import]

How are you unzipping the epub inside of Corona? [import]uid: 17827 topic_id: 9351 reply_id: 97629[/import]

I’m not; my project is to make an interactive eTextbook, not an ereader, so the ability to decompress on the fly insn’t needed. [import]uid: 6551 topic_id: 9351 reply_id: 97646[/import]