9

I'm looking for open source references for ebook reading applications in Android. Any reader that has understandable code will do. Thanks!

louieansonng
  • 343
  • 2
  • 7
  • 17

3 Answers3

2

What about CoolReader?

Common features, for all platforms

  • epub (non-DRM), fb2, txt, rtf, html, chm, tcr, doc, pdb formats supported
  • Pages or scroll view
  • Table of contents
  • Bookmarks
  • Text search
  • Hyphenation dictionaries
  • Most complete FB2 format support: styles, tables, footnotes
  • Additional fonts support (.ttf)
  • Can read books from zip archives
  • Automatic reformatting of .txt files (autodetect headings etc.)
  • Styles can be customised in wide range using external CSS

Android specific

  • Page flipping animation.
  • Built-in file browser, quick recent books access Day and night profiles (two sets of colors, background, backlight levels) Brightness adjustments by flick on left edge of screen
  • Background texture (stretched or tiled) or solid color
  • Paperbook-like page turning animation or "sliding page" animation
  • Dictionary support (ColorDict, Fora Dictionary, Aard dictionary)
  • Customizable tap zone and key actions
  • Place additional textures to /sdcard/.cr3/textures/ -- to be used as tiled page backgrounds
  • Place additional textures to /sdcard/.cr3/backgrounds/ -- to be used as stretched page backgrounds (/cr3/ directory can also be used instead of /.cr3/, and internal SD or internal storage instead of /sdcard/)
  • TTS (text-to-speech) support Select text using double tap (optional)
Maksym Gontar
  • 22,678
  • 9
  • 76
  • 114
  • Is it really an open - source, because I found it's exe(for windows) and .apk but **I was unable to find the source code of that apk**... Reply please... – GAMA May 10 '12 at 11:50
  • @GAMA see [Cool Reader project on Git](http://sourceforge.net/scm/?type=git&group_id=191284) – Maksym Gontar May 10 '12 at 19:04
  • this link provides some documentation I guess. I'm a newbie, so can you please provide the exact url? I followed https://github.com/amahule/CoolReader but it gives exception as mentioned here http://stackoverflow.com/questions/7212432/android-unsatisfiedlinkerror-library-not-found – GAMA May 11 '12 at 05:46
  • @GAMA you can browse code here: http://crengine.git.sourceforge.net/git/gitweb.cgi?p=crengine/crengine;a=tree, to download, see [this](http://stackoverflow.com/questions/2751227/how-to-download-source-from-github) question. – Maksym Gontar May 11 '12 at 05:54
  • but http://crengine.git.sourceforge.net/git/gitweb.cgi?p=crengine/crengine;a=tree is same as https://github.com/amahule/CoolReader... I've imported the project folder(android) in eclipse. It don't throw any compile error but throws the run-time exception `FATAL EXCEPTION: BackgroundThread405310e8 , java.lang.UnsatisfiedLinkError: Couldn't load cr3engine: findLibrary returned null` – GAMA May 11 '12 at 06:23
  • @GAMA ok, there is some native android project you should build first to get a lib: https://github.com/amahule/CoolReader/tree/master/android/jni – Maksym Gontar May 11 '12 at 07:01
  • `jni` folder already exists in my project folder. How can I individually build it? – GAMA May 11 '12 at 10:02
  • Please help. I'm no idea how to resolve this? – GAMA May 14 '12 at 05:29
  • 1
    @GAMA you will need [Android NDK](http://developer.android.com/sdk/ndk/overview.html), see also [tutorial](http://mobile.tutsplus.com/tutorials/android/ndk-tutorial/) – Maksym Gontar May 14 '12 at 13:32
  • you have also futurepress/epub.js : it reads epub and annotation through a web browner – JinSnow Feb 17 '15 at 07:09
1

I think this Application is useful for you: FBReader

Omid Nazifi
  • 5,165
  • 8
  • 28
  • 55
0

daisy_epub seems to match your 'understandable' Criteria

Rafael T
  • 14,504
  • 14
  • 72
  • 137
  • How do I access their trunk? It's asking for a password – louieansonng Jul 12 '11 at 03:34
  • "# Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://android-daisy-epub-reader.googlecode.com/svn/trunk/ android-daisy-epub-reader-read-only " – Rafael T Jul 12 '11 at 07:56
  • @RafaelT can you tell me which epub file is running in above code becuase i had downloded epub file with image and other epub file also so if you know then please help me. Thanks – PankajAndroid Jan 30 '13 at 05:41