ePub library for java or android

2019-01-13 01:34发布

Is there any library to read ePub format? I found ePublib in http://github.com/psiegman/epublib. I'm still learning how to use it.

Is there ePub jar which works for Android?

2条回答
男人必须洒脱
2楼-- · 2019-01-13 02:06

I am the author of epublib. It now runs on Android. See http://www.siegmann.nl/epublib/android

查看更多
我只想做你的唯一
3楼-- · 2019-01-13 02:27

You can use Folio Reader for this purpose. To use , add this to gradle:

compile 'com.folioreader:folioreader:0.2.5'

And if you have the .epub file in assets folder, you can load the file as :

Intent intent = new Intent(HomeActivity.this, FolioActivity.class);
intent.putExtra(FolioActivity.INTENT_EPUB_SOURCE_TYPE, FolioActivity.EpubSourceType.ASSESTS);
intent.putExtra(FolioActivity.INTENT_EPUB_SOURCE_PATH, "epub/The Silver Chair.epub");
startActivity(intent);

The library and sample is available [here].

The other available alternatives are:

查看更多
登录 后发表回答