DocumentReader

Additional

Language
Kotlin
Version
0.12 (Jul 30, 2020)
Created
Jul 27, 2020
Updated
Jul 31, 2020
Owner
Asutosh Panda (Asutosh11)
Contributor
Asutosh Panda (Asutosh11)
1
Activity
Badge
Generate
Download
Source code

Show card

DocumentReader

This library reads word documents (.doc and .docx), txt and PDF files, and gives the output content of the document as a String.

If you have ever tried to read contents of a PDF or MS word document on Android, you know how painful it is. This library makes your work easy.


Dependency for build.gradle (Module: app)

repositories { ... maven { url 'https://jitpack.io' } } dependencies { .... implementation 'com.github.Asutosh11:DocumentReader:0.12' // NOTE: use this only if you get a multidex exception implementation "androidx.multidex:multidex:2.0.1" } // NOTE: use this only if you get an error like - More than one file was found with OS independent path packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/INDEX.LIST' exclude 'META-INF/spring.handlers' exclude 'META-INF/spring.schemas' exclude 'META-INF/cxf/bus-extensions.txt' } // NOTE: use this only if you get a multidex exception defaultConfig { ... multiDexEnabled true }