orion-viewer
orion-viewer copied to clipboard
Orion Viewer is pdf, djvu, xps, cbz and tiff file viewer for Android devices based on mupdf and DjVuLibre libraries
Orion Viewer is pdf, djvu, xps, cbz and tiff file viewer for Android devices based on MuPDF and DjVuLibre libraries
Application features
- Outline navigation
- Bookmarks support
- Page navigation by screen taps + Tap Zones + Key binding
- Text selection
- Single word selection by double tap with translation in external dictionary
- Custom zoom
- Custom border crop
- Portrait/landscape orientation
- Support different navigation patterns inside page (left to right, right to left)
- External Dictionaries support
- Built-in file manager with recently opened file view
Contibution
Whatever you want! Project is open to any ideas and discussions
Translations
Project is fully or partially translated into Chinese, English, French, German, Hebrew, Italian, Russian, Spanish and Ukrainian languages. It would be highly desirable to eliminate gaps and errors in existing translations and to translate project into new languages.
Take a look into translations page on wiki.
How to build project?
To build Orion Viewer
you will need:
-
Android Studio 3.6+
-
android-sdk 28+
-
android-ndk 20+
-
make and python2 for mupdf
-
git
-
downloaded native libs (mupdf, djvu):
./gradlew -b thirdparty_build.gradle downloadAndPatchDjvu downloadAndMakeMupdf
Build scripts for them are defined in
externalNativeBuild
section in gradle build files (for details seedjvuModule/build.gradle
andmupdfModule/build.gradle
). Native libs are checked out intonativeLibs/djvu
andnativeLibs/mupdf
folders. -
specify path to android-sdk in
local.properties
(uselocal.properties.sample
as example).
To build Android apk files run:
./gradlew :orion-viewer:assembleDebug
(or assembleRelease
)
It will generate apk
artifacts suitable for Android 4.1+ devices.
For Android 4.0.x devices use next command (it also requires android-ndk 17):
./gradlew :nativeLibs:djvuModule:clean :nativeLibs:mupdfModule:clean
./gradlew :orion-viewer:assembleArm7Debug -Porion.build.android40=true
Pre 0.80 versions are compatible with Android 2.1+ devices