简体   繁体   English

Android - epub阅读器读取.epub文件..

[英]Android - epub reader to read .epub files..

I am developing and EPUB reader . 我正在开发和EPUB阅读器 I want to know some things related to other EPUB readers there in the market (like Cool reader, FBReader, Amazon Kindle and many more). 我想知道一些与市场上其他EPUB读者有关的事情(如酷读者,FBReader,亚马逊Kindle等等)。

  1. What type of view they use to show pages of .EPUB books? 他们使用什么类型的视图来显示.EPUB书籍的页面?
  2. Is it normal textview, webview or something custom? 是正常的textview,webview还是自定义的东西?
  3. How to implement search and bookmark functionality in epub reader as we loaded single html pages in webview? 当我们在webview中加载单个html页面时,如何在epub阅读器中实现搜索和书签功能?
  4. I want to know how to read epub ? 我想知道如何阅读epub? Is there any api in Android? Android中有api吗?

Any better solution is appreciated. 感谢任何更好的解决方案。

Look at Epublib – a java epub library it supports in the Android. 看看Epublib -它在Android中支持的java epub库

EPUB is simply a ZIP file containing HTML, CSS, images, and metadata. EPUB只是一个包含HTML,CSS,图像和元数据的ZIP文件。

So you can use WebView to display that HTML pages. 因此,您可以使用WebView显示该HTML页面。 Or possible convert it to in .png or bitmap then use in ImageView . 或者可以将其转换为.png或位图,然后在ImageView中使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM