android pdf sdk
Extend your Android app with 30+ PDF SDK features
Meet the Nutrient Android PDF SDK — an elegant, powerful toolkit designed to bring advanced PDF capabilities to life in your Android applications. Whether your app is reshaping education, streamlining business, or redefining document management, Nutrient sets the standard for innovation and simplicity.
![](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66eeac857a01b10910bc5c01_hero_sdk_android_desktop.webp)
![](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66eeac843d20e5d8136c40f7_hero_sdk_android_tablet.webp)
![](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66eeac845dfb43eaea2deb67_hero_sdk_android_mobile.webp)
feature-rich viewer
Customizable for you, seamless for your users
![Vertical document editing toolbar on Android mobile with labels describing each Nutrient function.](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66f290734c96dbb717bd38a2_android-ui-explained-mobile.webp)
What you get
Key features
Advanced annotation tools
Enable users to annotate, highlight, and comment directly on PDF documents, transforming static files into interactive experiences.
High-fidelity PDF rendering
Ensure flawless display of PDF documents across Android devices, with precise rendering that preserves fonts, images, and formatting.
Comprehensive document management
Equip your app with robust features to view, edit, and manage PDF files. From merging files to extracting pages, our Android SDK provides the flexibility you need.
Cross-platform support
Take advantage of React Native and Flutter compatibility to effortlessly develop cross-platform applications.
Designed for AndroidX
Ensure compatibility with future Android developments with an SDK built to integrate seamlessly with AndroidX.
Benefits
![Bright green grass on rock symbolizes simplicity and efficiency, reflecting how our PDF SDK streamlines document manipulation and software development. Years of research and customer collaboration drive innovative solutions, empowering developers to reduce time spent on tasks and stay ahead of the competition.](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66da0c164486cb1c19d57ea2_sdk-ios-benefits1.webp)
Integrate without the effort
An SDK toolkit so refined, you’ll be up and running in just a few lines of code.
![Bright green grass on rock symbolizes simplicity and efficiency, reflecting how our PDF SDK streamlines document manipulation and software development. Years of research and customer collaboration drive innovative solutions, empowering developers to reduce time spent on tasks and stay ahead of the competition.](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66da0c169f8b48278a1c44aa_sdk-ios-benefits2.webp)
Explore endless possibilities
Customize PDF functionality to align perfectly with your vision and your users’ needs.
![Bright green grass on rock symbolizes simplicity and efficiency, reflecting how our PDF SDK streamlines document manipulation and software development. Years of research and customer collaboration drive innovative solutions, empowering developers to reduce time spent on tasks and stay ahead of the competition.](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66da0c165442128727f40003_sdk-ios-benefits4.webp)
Gain peace of mind
Rest easy knowing our SDKs are completely secure and always up to date, backed by the reliable PDFium-based rendering engine.
Compatibility
For cross-platform development, including support for building Android apps, we also offer SDKs for React Native and Flutter.
See it in action!
Don’t take our word for it. Experience our Android SDK today with PDF Viewer, our free demo app.
![Artistic image titled Canvas and Culture next to a PDF viewer toolbar in Nutrient.](https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66f28eba4f9b6a3851789601_pdf-viewer.webp)
Examples
Easy code integration
1val uri = Uri.parse("file:///android_asset/my-document.pdf")
2val config = PdfActivityConfiguration.Builder(context).build()
3PdfActivity.showDocument(this, uri, config)
1final var uri = Uri.parse("file:///android_asset/my-document.pdf");
2final var config = new PdfActivityConfiguration.Builder(context).build();
3PdfActivity.showDocument(this, uri, config);
1override fun onCreate(savedInstanceState: Bundle?) {
2 super.onCreate(savedInstanceState)
3 setOnContextualToolbarLifecycleListener(this)
4}
5
6override fun onPrepareContextualToolbar(toolbar: ContextualToolbar<*>) {
7 if (toolbar is AnnotationCreationToolbar) {
8 // Get the existing menu items so we can modify them.
9 val menuItems = toolbar.menuItems
10
11 // Find and remove the ink highlighter button from the toolbar.
12 val highlighterItem = menuItems.find { it.id == R.id.pspdf__annotation_creation_toolbar_item_ink_highlighter}
13 if (highlighterItem != null) {
14 menuItems.remove(highlighterItem)
15 }
16
17 // Replace the menu items.
18 toolbar.setMenuItems(menuItems)
19 }
20}
21
22override fun onDisplayContextualToolbar(toolbar: ContextualToolbar<*>) {}
23override fun onRemoveContextualToolbar(toolbar: ContextualToolbar<*>) {}
1// Create the text on the first page.
2val freeTextAnnotation = FreeTextAnnotation(0, RectF(100f, 100f, 300f, 140f), "My Annotation")
3// Set the text color.
4freeTextAnnotation.color = Color.RED
5// Set the text size.
6freeTextAnnotation.textSize = 20f
7// Add it to the page.
8pdfFragment?.addAnnotationToPage(freeTextAnnotation, false)
1// Create the text on the first page.
2final var freeTextAnnotation = new FreeTextAnnotation(0, new RectF(100, 100, 300, 140), "My Annotation");
3// Set the text color.
4freeTextAnnotation.setColor(Color.RED);
5// Set the text size.
6freeTextAnnotation.setTextSize(20f);
7// Add it to the page.
8getPdfFragment().addAnnotationToPage(freeTextAnnotation, false);
Powered by Nutrient
We’re extremely proud of all the amazing apps that rely on Nutrient’s technology. Our main goal has always been providing developers with the highest-quality tools so they can focus on making the best apps possible.
Knowledge center
Pick your perfect solution
Nutrient SDKs are made to grow with your app. You can start with what you need now and add more tools later.
Viewing
Open all documents with high fidelity in a well-designed viewer.
Open all documents with high fidelity in a well-designed viewer.
Markup
Improve the review process with a suite of annotation tools.
Improve the review process with a suite of annotation tools.
Collaboration
Bring real-time collaboration to your documents.
Bring real-time collaboration to your documents.
Editing
Modify documents and easily edit PDF text directly in your app.
Modify documents and easily edit PDF text directly in your app.
Forms
Easy for users to fill forms. Easy for you to create them programmatically.
Easy for users to fill forms. Easy for you to create them programmatically.
Signing
Streamline contract execution and approval workflows by enabling eSignatures and PDF digital signatures.
Streamline contract execution and approval workflows by enabling eSignatures and PDF digital signatures.
Generation
Effortlessly generate PDFs from HTML and DOCX.
Effortlessly generate PDFs from HTML and DOCX.
OCR and Data Extraction
Give new life to scanned documents by easily converting them into text that's selectable and searchable.
Give new life to scanned documents by easily converting them into text that's selectable and searchable.
Document Conversion
Easily convert any Office document, image, email, or webpage into a high-quality PDF.
Easily convert any Office document, image, email, or webpage into a high-quality PDF.
Security and Compliance
Protect sensitive information and meet regulatory requirements within your application.
Protect sensitive information and meet regulatory requirements within your application.
Latest from the blog
Blog
Explore the latest insights, products, tutorials, and more.
Frequently asked questions
Who can benefit from Nutrient?
Whether you’re an educator, architect, or tech professional, anyone requiring advanced document management, annotation, and rendering capabilities can benefit from Nutrient’s features.
Is there a free trial?
Yes, we offer a free trial so you can experience Nutrient’s capabilities firsthand. Contact us to get started.
Can I use Nutrient Android SDK with React Native?
Yes, Nutrient supports React Native for streamlined cross-platform development.
Does your Android PDF SDK include annotation tools?
Absolutely! Nutrient offers a full suite of annotation tools, empowering users to interact with documents like never before.
Is AndroidX supported?
Yes, Nutrient is fully compatible with the AndroidX library.
How do I integrate Nutrient into my app?
You can get started with just a few lines of code. Check out our getting started guide for all the details.
What is Nutrient Android SDK?
Nutrient Android SDK is a state-of-the-art toolkit that makes adding advanced PDF capabilities to Android apps effortless.