-
Notifications
You must be signed in to change notification settings - Fork 720
Home
Werner Kunze edited this page Apr 11, 2022
·
17 revisions
FolioReader-Android is an EPUB reader written in Java and Kotlin.
Add following dependency to your root project build.gradle
file:
allprojects {
repositories {
...
jcenter()
maven { url "https://jitpack.io" }
...
}
}
Add following dependency to your app module build.gradle
file:
dependencies {
...
implementation "com.folioreader:folioreader:0.5.4"
...
}
Enable Multidex support as explained in this Android Doc
Get singleton object of FolioReader
:
FolioReader folioReader = FolioReader.get();
Call the function openBook()
:
folioReader.openBook("file:///android_asset/TheSilverChair.epub");
folioReader.openBook(R.raw.accessible_epub_3);