2014-12-13 85 views
-3

imageview有人會提供我的代碼來閱讀epub書籍和顯示爲webView,我盡我所能得到所需的代碼,但從來沒有得到它,所以我希望如果有人會爲我發佈,我需要一步一步的程序,因爲我是一個初學者,我使用eclipse提前致謝如何使一個epub閱讀器和顯示爲android

回答

0

您可以嘗試CoolReader here和FBReader here

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

Android的具體

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) 
+0

我的朋友感謝您的試用,但你貼是非常複雜的我需要的是一個簡單的代碼或者通過網頁流量或轉換到ImageView的顯示上的活動的EPUB – Abood 2014-12-14 15:15:13

+0

爲此,不是簡單的代碼,我試過http://stackoverflow.com/questions/5640728/render-epub-files-in-android/7266884#7266884,但我失敗了。經過長時間的研究,我終於找到了一個可用的開源EPUB閱讀器https://github.com/nightwhistler/pageturner。真的行。 – bjiang 2014-12-14 17:40:32

+0

男人我只需要一個webView來顯示我的epub請幫我用這個 – Abood 2014-12-15 20:48:14