Search code examples
javaandroidwebviewepub

Epub reader horizontal Android


How to make a epub reader in which a html page is divided into several screens? I want to get the effect reading page by page, and browse pages horizontally rather than vertically. Thanks.


Solution

  • Use the CSS3 columns to create pages, then implement swipe between them.

    Existing javascript solutions:

    • Monocle - huge and powerful library.
    • Swipe Columns - less complicated and easier to understand. Works slow on some devices though.

    Also, maybe you'd be interested in some full-featured readers like FBReader. They use native rendering instead of WebView.