From Zero to AI: Building custom chat interfaces with Nutrient on Android
Learn how to integrate Nutrient AI Assistant into your Android apps with a custom UI.
ANDROID PDF SDK
Bring PDF viewing, annotation, signing, form filling, and AI into any Android app — where users can work smoothly, even offline. Our Android PDF viewer SDK is built for modern Kotlin/Java development, so you can ship full-featured document experiences fast.
FEATURE-RICH VIEWER
Display complex PDFs exactly as authored — fonts, layouts, images, and vector graphics render flawlessly on any Android screen.
Let users highlight, sign, fill forms, and add comments directly in your app. Pair with server-side components to enable offline edits and real-time or deferred syncing.
Build on a modern Android stack with full support for AI-powered features like summarization, redaction, and natural language search. The SDK integrates cleanly with AndroidX and scales with whatever comes next.
All processing stays on-device, keeping data inside your app’s sandbox. Using Flutter or React Native? The same core engine ensures a consistent UX across platforms.
Nutrient Android SDK delivers modular Kotlin components you can drop in instantly — adding native viewing, annotation, signing, and AI-powered features to any Android app, with offline support.
Render large PDFs instantly, layer on markups and threaded comments, and watch feedback appear live.
Add, reorder, or rewrite pages, and view and fill out forms.
Apply tamper‑proof eSignatures, compare documents, and scrub sensitive data before release.
Ask a document anything, translate or classify content, and convert file formats.
Add high-performance PDF viewing, annotation, and editing to your Android app in minutes with just a few lines of Kotlin or Java.
NUTRIENT ANDROID SDK
val uri = Uri.parse("file:///android_asset/my-document.pdf")val config = PdfActivityConfiguration.Builder(context).build()PdfActivity.showDocument(this, uri, config)
final var uri = Uri.parse("file:///android_asset/my-document.pdf");final var config = new PdfActivityConfiguration.Builder(context).build();PdfActivity.showDocument(this, uri, config);
NUTRIENT ANDROID SDK
override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setOnContextualToolbarLifecycleListener(this)}
override fun onPrepareContextualToolbar(toolbar: ContextualToolbar<*>) { if (toolbar is AnnotationCreationToolbar) { // Get the existing menu items so we can modify them. val menuItems = toolbar.menuItems
// Find and remove the ink highlighter button from the toolbar. val highlighterItem = menuItems.find { it.id == R.id.pspdf__annotation_creation_toolbar_item_ink_highlighter} if (highlighterItem != null) { menuItems.remove(highlighterItem) }
// Replace the menu items. toolbar.setMenuItems(menuItems) }}
override fun onDisplayContextualToolbar(toolbar: ContextualToolbar<*>) {}override fun onRemoveContextualToolbar(toolbar: ContextualToolbar<*>) {}
NUTRIENT ANDROID SDK
// Create the text on the first page.val freeTextAnnotation = FreeTextAnnotation(0, RectF(100f, 100f, 300f, 140f), "My Annotation")// Set the text color.freeTextAnnotation.color = Color.RED// Set the text size.freeTextAnnotation.textSize = 20f// Add it to the page.pdfFragment?.addAnnotationToPage(freeTextAnnotation, false)
// Create the text on the first page.final var freeTextAnnotation = new FreeTextAnnotation(0, new RectF(100, 100, 300, 140), "My Annotation");// Set the text color.freeTextAnnotation.setColor(Color.RED);// Set the text size.freeTextAnnotation.setTextSize(20f);// Add it to the page.getPdfFragment().addAnnotationToPage(freeTextAnnotation, false);
Nutrient SDKs and Cloud APIs add full document lifecycle support to any platform, tech stack, or infrastructure in minutes. The same technology meets Fortune 500 requirements while helping startups ship fast.
Clean documentation, drop-in code, and MCP hooks for both hands-on developers and AI agents.
Web, mobile, desktop, server, or Nutrient Cloud — with no lock-in.
SOC 2 Type II and WCAG 2.2-compliant workflows with PDF/UA-accessible documents.
Built-in document AI with support for leading LLMs and their private implementations.
PROVEN AT SCALE
Delivers its 120‑page monthly magazine “51” on iOS, Android, and Web with Nutrient viewers and DRM, giving millions of fans offline access and seamless reading.
Swiss fintech powering qualified electronic signatures for leading banks uses Nutrient SDKs across Web, iOS, and Android to deliver ZertES/eIDAS‑compliant signing in its Let’s Sign app.
Construction ERP powering one‑quarter of ENR’s Top 400 contractors embeds Nutrient SDKs for mobile drawing management across iOS, Android, and Web, slashing developer time and fueling double‑digit growth.
FREE TRIAL
Start building with our Android SDK in minutes — no payment information required.
An Android PDF SDK is a set of software tools that lets you display, edit, and manage PDF documents directly within your Android app. Think of it like a virtual “printer-scanner” for your mobile software — only much faster and with far more functionality. By integrating an Android PDF SDK, you save time coding everything from scratch and offer your users a better, more seamless experience.
Picking the best Android PDF SDK can feel like choosing the perfect tool from a fully stocked garage. You want something that delivers power and precision without the extra hassle. Focus on your app’s core needs first — such as rendering quality or annotation features — and then compare how different SDKs handle each requirement.
Plenty of PDF toolkits exist, each with their own strengths. The “best” solution largely depends on your use case. If you need basic viewing only, a lightweight SDK might do. If you want advanced editing, annotation, and encryption, you’ll need something with a broader feature set.
Nutrient (formerly PSPDFKit) sets the standard for performance, reliability, and user-friendly integration. We’ve poured years of research and developer feedback into creating an SDK that’s easy to install, yet robust enough for major enterprises. You’ll get sleek rendering, advanced editing tools, and top-notch security in a single, streamlined package.
Integration often involves adding the SDK as a module or library to your Android project and then calling a few setup methods. For Nutrient specifically, you can load PDFs from local storage, remote URLs, or even in-memory data. The idea is to keep your workflow smooth and your code clean.
Using an Android PDF SDK can transform your application from a simple viewer to a powerful document management tool. By focusing on user-centric design, thorough security, and cross-platform compatibility, you’ll end up with an app that truly shines.
What is Nutrient Android SDK?
Nutrient Android SDK is a powerful PDF library that enables developers to add advanced PDF viewing, annotation, and editing capabilities to their Android applications. Built on more than a decade of development, it provides native performance, offline support, and a customizable UI that integrates seamlessly with your app’s design. From simple PDF viewing to complex document workflows, Nutrient handles it all.
Who can benefit from Nutrient?
Nutrient Android SDK benefits any developer or company looking to add PDF functionality to their Android apps. Whether you’re building for finance, healthcare, education, or any other industry, our SDK provides the tools you need to view, annotate, sign, and process PDFs directly within your native Android application.
Is there a free trial?
Yes! We offer a free trial that lets you explore all the features of our Android PDF SDK. You can integrate it into your app and test everything from basic viewing to advanced annotation and form filling — no credit card required. Get started with our trial to see how Nutrient can transform your Android app’s document capabilities.
Can I use Nutrient Android SDK with React Native?
Absolutely. Nutrient provides dedicated React Native libraries that wrap our native Android SDK, giving you the best of both worlds — the performance of native code with the flexibility of React Native development. You’ll get the same powerful PDF features with JavaScript APIs that feel natural in your React Native workflow.
Does your Android PDF SDK include annotation tools?
Yes. Our Android SDK includes a comprehensive set of annotation tools. Your users can highlight text, add comments, draw shapes, insert stamps, and much more. All annotations are rendered natively for smooth performance and can be saved, exported, or synced across devices. We support the full PDF specification for annotations, ensuring compatibility with other PDF readers.
Is AndroidX supported?
Yes. Nutrient Android SDK fully supports AndroidX and is actively maintained to work with the latest Android development standards. We migrated to AndroidX early and ensure our SDK stays compatible with new AndroidX releases. This means you can use modern Android development practices without worrying about compatibility issues.
How do I integrate Nutrient into my app?
Integration is straightforward and typically takes less than 15 minutes. Add our SDK to your Gradle dependencies and initialize it with your license key, and you’ll be ready to display PDFs. We provide detailed guides, sample projects, and API documentation to help you implement advanced features. Our Support team is also available to assist with any integration questions.