An阅读器java_FolioReader-Android一个Java开发的ePub阅读器 和解析器框架

FolioReader-Android是一个用Java编写的ePub阅读器和解析器框架,提供自定义字体、字号、主题切换、文本高亮、链接处理、阅读时间及剩余页面显示等功能。支持媒体同步、TTS、PDF阅读、书籍搜索和笔记添加。使用Gradle添加依赖并配置网络安全文件即可集成到项目中。
摘要由CSDN通过智能技术生成

625332134c6f4d4600884b99daebf603.png

625332134c6f4d4600884b99daebf603.png

FolioReader-Android is an ePub reader written in Java.

Features

Custom Fonts

Custom Text Size

Themes / Day mode / Night mode

Text Highlighting

List / Edit / Delete Highlights

Handle Internal and External Links

Portrait / Landscape

Reading Time Left / Pages left

In-App Dictionary

Media Overlays (Sync text rendering with audio playback)

TTS - Text to Speech Support

Parse epub cover image

PDF support

Book Search

Add Notes to a Highlight

Better Documentation

Last Read Position Listener

Horizontal reading

Distraction Free Reading

Demo

Custom Fonts

625332134c6f4d4600884b99daebf603.png

Day and Night Mode

625332134c6f4d4600884b99daebf603.png

Text Highlighting

625332134c6f4d4600884b99daebf603.png

Media Overlays

625332134c6f4d4600884b99daebf603.png

Gradle

Add following dependency to your app module build.gradle file:

repositories {

maven {

url 'http://dl.bintray.com/mobisystech/maven'

}

}

dependencies {

implementation 'com.folioreader:folioreader:0.4.4'

}

AndroidManifest

Starting with Android 9.0 (API level 28), cleartext support is disabled by default.

{your-app-module}/res/xml/network_security_config.xml

127.0.0.1

localhost

Then add network_security_config.xml in your app module's AndroidManifest.xml

...

...

Usage

Get singleton object of FolioReader:

FolioReader folioReader = FolioReader.get();

Call the function openBook():

opening book from assets -

folioReader.openBook("file:///android_asset/TheSilverChair.epub");

opening book from raw -

folioReader.openBook(R.raw.adventures);

Note: From v0.4.1 you don't need to specify permissions and FolioActivity tag in AndroidManifest.xml

WIKI

Reporting Issue

Please follow Issue Template to report any issue.

Credits

Author

Follow me on Twitter: @hebertialmeida

Contact me on LinkedIn: hebertialmeida

Follow us on Twitter: @codetoart

Contact us on Website: codetoart

Donations

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated. Thank you!

PayPal

Donate 5 $: Thank's for creating this project, here's a tea (or some juice) for you!

Donate 10 $: Wow, I am stunned. Let me take you to the movies!

Donate 15 $: I really appreciate your work, let's grab some lunch!

Donate 25 $: That's some awesome stuff you did right there, dinner is on me!

Donate 50 $: I really really want to support this project, great job!

Donate 100 $: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!

Of course, you can also choose what you want to donate, all donations are awesome!

License

FolioReaderKit is available under the BSD license. See the LICENSE file.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值