项目介绍

ahmadullahpk/all-documents-reader 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,目前获得 53 个 Star、10 次 Fork。

仓库全名
ahmadullahpk/all-documents-reader
Star 数
53
Fork 数
10
未关闭 Issue
4

README 摘要

All-Document-Reader This library reads any type of documents like (doc, docx, xls, xlsx, ppt, pptx,pdf, rtf, csv, json, html, xml,txt,and kotlin)F files. Just use this 4 line code Intent intent = new Intent(context, AllDocumentReaderActivity.class); intent.putExtra("path", path); intent.putExtra("fromAppActivity", true); context.startActivity(intent); val intent = Intent(this, AllDocumentReaderActivity::class.java)…

完整内容见 GitHub 原始 README 或本页 。

常见问题

all-documents-reader 用什么语言开发?

主要使用 Java 编写,目前有 53 个 Star。

如何获取 all-documents-reader 的源码?

可以直接克隆仓库:git clone https://github.com/ahmadullahpk/all-documents-reader.git,默认分支为 main;安装与运行步骤见仓库 README。

all-documents-reader 最近还在维护吗?

仓库最近一次更新为 2023年7月10日,当前有 4 个未关闭 Issue;Star 数为 53,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

This library reads any type of documents like (doc, docx, xls, xlsx, ppt, pptx,pdf, rtf, csv, json, html, xml,txt,and kotlin)F files.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
75
价值分
34
活跃状态
活跃

语言占比

Java
Kotlin

Release

README

All-Document-Reader

This library reads any type of documents like (doc, docx, xls, xlsx, ppt, pptx,pdf, rtf, csv, json, html, xml,txt,and kotlin)F files.

Just use this 4 line code

    Intent intent = new Intent(context, All_Document_Reader_Activity.class);
    intent.putExtra("path", path);
    intent.putExtra("fromAppActivity", true);
    context.startActivity(intent);

val intent = Intent(this, All_Document_Reader_Activity::class.java) intent.putExtra(“path”, path) intent.putExtra(“fromAppActivity”, true) startActivity(intent)

Gradle

Step 1

add jitpack repository

allprojects {

	repositories {
		...
		maven { url 'https://jitpack.io' }
	}

}

OR

pluginManagement {

repositories {
    google()
    mavenCentral()
    jcenter()
    gradlePluginPortal()
    maven { url 'https://jitpack.io' }

}

}

dependencyResolutionManagement {

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
    google()
    mavenCentral()
    jcenter()
    maven { url 'https://jitpack.io' }
}

}

Step 2

add this dependency

implementation 'com.github.ahmadullahpk:all-documents-reader:1.0.7'

Step 3

Add build.gradle (App)

android {

…

packagingOptions {

    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/INDEX.LIST'

}

...........

}

Step 4

add this line in gradle.properties

android.enableJetifier=true

Contact me if you have problem

Fiverr:

https://www.fiverr.com/s/rRb0Yr

WhatsApp:

+923115799224

评论

暂无评论