GithubHelp home page GithubHelp logo

sss / document-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sufficientlysecure/document-viewer

2.0 3.0 0.0 42.36 MB

Document Viewer is a highly customizable document viewer for Android.

License: GNU General Public License v3.0

HTML 12.14% CSS 0.09% PHP 40.05% JavaScript 0.16% Shell 0.09% Makefile 0.32% C 1.60% C++ 0.57% Java 44.63% Hack 0.36%

document-viewer's Introduction

Document Viewer

Get it on F-Droid

Document Viewer is a highly customizable document viewer for Android.

Supports the following formats:

  • PDF
  • DjVu
  • EPUB
  • XPS (OpenXPS)
  • CBZ (Comic Books, no support for rar compressed CBR)
  • FictionBook (fb2)

Collaboration with electronic publication sites and access to online ebook catalogs is allowed by the supported OPDS protocol.

FAQ, information about supported MIME types, and available Intents can be found in the Wiki.

Development

Document Viewer is a fork of the last GPL version of EBookDroid (http://code.google.com/p/ebookdroid/).

We need your support to fix outstanding bugs, join development by forking the project!

Building

NOTE: NDK r14b fails to compile DV - use r15 or r13b. (See #245)

Build with Gradle

  1. Have Android SDK "tools", "platform-tools", and "build-tools" directories in your PATH (http://developer.android.com/sdk/index.html)
  2. Open the Android SDK Manager (shell command: android).
    Expand the Tools directory and select "Android SDK Build-tools" newest version.
    Expand the Extras directory and install "Android Support Repository"
    Select everything for the newest SDK
  3. Export ANDROID_HOME pointing to your Android SDK
  4. Pull in submodules with ./init.sh
  5. Build native libraries with cd document-viewer; ndk-build
  6. Execute ./gradlew build

NDK Debugging

  1. cd document-viewer; ndk-build -j8 NDK_DEBUG=1
  2. From Android Studio: Run -> Debug... to build and install the APK and launch it on the device.
  3. cp src/main/AndroidManifest.xml . # Hack required for ndk-gdb to find everything
  4. ndk-gdb

Development with Android Studio

I am using the newest Android Studio for development. Development with Eclipse is currently not possible because I am using the new project structure.

  1. Clone the project from github
  2. From Android Studio: File -> Import Project -> Select the cloned top folder
  3. Import project from external model -> choose Gradle

Font Pack

The Document Viewer Fontpack is no longer supported. Our MuPDF patches to support this no longer apply cleanly, so support for the font pack was dropped.

Licenses

Document Viewer is licensed under the GPLv3+.
The file LICENSE includes the full license text.

Details

Document Viewer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Document Viewer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Document Viewer. If not, see http://www.gnu.org/licenses/.

Java Libraries

C Libraries

Images

document-viewer's People

Contributors

abderrahim avatar aelmahmoudy avatar dschuermann avatar ebraminio avatar ericwa avatar fid-jose avatar fliegendewurst avatar krasnayaploshchad avatar luiscruz avatar matsimon avatar megaminxwin avatar mightyscoopa avatar mrcolbyrussell avatar naofum avatar spiritquaddicted avatar sss avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.