nutrient-android-sdk
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNutrient Android SDK
Nutrient Android SDK
Native Kotlin/Java SDK for PDF viewing and document interaction on Android. Supports both traditional Views (/) and Jetpack Compose ().
PdfActivityPdfFragmentDocumentView适用于Android平台的原生Kotlin/Java SDK,支持PDF查看与文档交互。同时支持传统Views(/)和Jetpack Compose()。
PdfActivityPdfFragmentDocumentViewDocumentation
文档
Single-fetch LLM-curated dumps — prefer these over the human-shaped docs site for API/guide look-ups:
- API reference: https://www.nutrient.io/api/android/llms.txt
- Guides: https://www.nutrient.io/guides/android/llms.txt
- Cross-product index (other Nutrient SDKs): https://www.nutrient.io/llms.txt
单次获取由LLM整理的文档内容 —— 进行API或指南查询时,优先使用这些内容,而非人工维护的文档网站:
- API参考:https://www.nutrient.io/api/android/llms.txt
- 指南:https://www.nutrient.io/guides/android/llms.txt
- 跨产品索引(其他Nutrient SDK):https://www.nutrient.io/llms.txt
Example Repositories
示例仓库
- Android simple example (PDF viewing and annotation): https://github.com/PSPDFKit/pspdfkit-android-simple-example
- Android简单示例(PDF查看与批注):https://github.com/PSPDFKit/pspdfkit-android-simple-example
Key Concepts
核心概念
- Maven artifact: — the current version is in the guides linked above. The historical
io.nutrient:nutrient:<version>coordinates are pre-rebrand.com.pspdfkit:pspdfkit - Maven repository: — custom repo (not Maven Central); add it to
https://my.nutrient.io/maven(or rootsettings.gradle).build.gradle
- Maven构件:—— 当前版本可查看上方链接的指南。历史坐标
io.nutrient:nutrient:<version>为更名前使用。com.pspdfkit:pspdfkit - Maven仓库:—— 自定义仓库(非Maven中央仓库);需将其添加至
https://my.nutrient.io/maven(或根目录settings.gradle)中。build.gradle