Archive
2023
DEVELOPMENT
Kotlin
Android
Development
Kotlin Non-Nullable Pitfall
Under what circumstances a non-nullable value might be null.
2022
DEVELOPMENT
Android
Kotlin
Development
Pairs and Triples in Kotlin (And Why You Shouldn't Use Them)
An under the hood overview of pairs and triples in Kotlin.
TUTORIALS
Java
Kotlin
PDF
How To
Converting a PDF to an Image in Java
How to convert PDFs to images using PSPDFKit Library for Java.
TUTORIALS
Java
Kotlin
PDF
How To
Java PDF Editor: How to Programmatically Edit PDFs Using Java
Learn how to edit PDFs with PSPDFKit's Java PDF editor library.
DEVELOPMENT
Kotlin
Android
How To
Development
Kotlin Context Receivers — A Preview
A short summary about the upcoming Kotlin feature, context receivers.
TUTORIALS
Java
Kotlin
PDF
How To
Programmatically Editing a PDF Using Java
How to use PSPDFKit Library for Java to perform various editing operations on a PDF document programmatically.
BLOG
Android
Kotlin
Insights
Java-to-Kotlin Conversion Best Practices
This blog post provides a few handy tips for performing Java-to-Kotlin conversion.
DEVELOPMENT
Android
Kotlin
Jetpack Compose
Insights
Development
How We Expose Jetpack Compose APIs
A few lessons we learned about API design for modern Android.
2021
DEVELOPMENT
Android
Kotlin
Tips
Development
Autosizing Fonts for Android EditTexts
Transfer Android's TextView autosizing capability to EditTexts
DEVELOPMENT
Android
Kotlin
Jetpack Compose
UI/UX
Development
Introducing Jetpack Compose Support
The Android PDF SDK you know and love now supports Jetpack Compose!
TUTORIALS
Android
Kotlin
How To
Jetpack Compose
PDF
Opening a PDF in a Jetpack Compose Application
How to open a PDF in a Jetpack Compose application.
TUTORIALS
Android
Kotlin
Java
How To
Creating and Filling Out Forms Programmatically on Android
This blog post shows how to create and fill out forms programmatically on Android.
DEVELOPMENT
Android
Kotlin
Development
Avoiding Primitive Type Saturation in Kotlin
Enough of fun getString(string: String): String – let's make greater use of Kotlin's powerful type system.
TUTORIALS
Android
Kotlin
PDF
How To
Annotations
Embedding Audio in PDFs: Sound Annotations in Depth
An introduction to PDF sound annotations.
TUTORIALS
Android
Kotlin
How To
Converting an Image to PDF in Kotlin
Learn how to convert an image to PDF using PSPDFKit for Android and Kotlin.
TUTORIALS
Android
Kotlin
Security
Signing
PDF
How To
Digital Signing on Android
How digital signing and contained signatures on Android work.
TUTORIALS
Android
Kotlin
How To
Performing OCR on Android
A post showing how to use PSPDFKit for Android to perform OCR on scanned documents.
2020
DEVELOPMENT
Android
Kotlin
Insights
Development
How Updating to Kotlin 1.4 Broke Our Linter Rules
How the update to Android Gradle plugin 4.1 and Kotlin 1.4 can break custom linter rules, and how to fix it.
TUTORIALS
Android
Kotlin
How To
Redaction
How to Create Multiple Redactions with Search on Android
Learn how you can leverage the redaction functionality of PSPDFKit for Android to effectively remove text patterns from documents.
TUTORIALS
Android
How To
Kotlin
Adding a Persistent Annotation Sidebar
Learn how to put together all the components PSPDFKit provides to build a custom Annotation UI.
DEVELOPMENT
Android
Kotlin
Tips
Productivity
Development
Think First, Code Later
A case study on how we design features and APIs for PSPDFKit for Android.
DEVELOPMENT
Android
Kotlin
Tips
Productivity
Testing
Development
How to Reduce Flakiness in Automated UI Testing on Android
This blog post discusses tips and best practices on how to reduce flakiness in automated UI testing on Android.
TUTORIALS
Java
Kotlin
PDF
How To
How to Merge Two or More PDFs into a Single PDF Using Java (or Kotlin)
Learn how to merge multiple PDFs in Java (or Kotlin) the simple way — with code examples, explanations, and extra features.
DEVELOPMENT
Android
Kotlin
Tips
UI/UX
Development
Change Android Themes Instantly Using the Circular Reveal Animation
This blog post investigates how to achieve nice animations when changing themes.
TUTORIALS
Android
Kotlin
PDF
How To
Inserting an Image into a PDF on Android
We provide a step-by-step explanation of how to insert an image into a PDF on Android.
2019
TUTORIALS
Android
Kotlin
How To
Persisting the Tabs State on Android
A blog post describing how to persist the tabs state inside PdfActivity.
DEVELOPMENT
Android
Kotlin
Tips
Accessibility
Insights
Development
How We Improved Keyboard Navigation Accessibility in Our Android SDK
A look at the steps we took to start improving the accessibility of our Android SDK.
TUTORIALS
Android
Kotlin
PDF
How To
Add a Watermark to a PDF on Android
How to add a watermark to a PDF on Android.
TUTORIALS
Android
Kotlin
PDF
How To
Merge PDF Documents on Android
We'll take a look at two ways to merge PDF documents on Android.
DEVELOPMENT
Android
Kotlin
Java
Insights
Development
What Is an Intent?
An overview of intents, their uses, and pitfalls to consider.
DEVELOPMENT
Android
Kotlin
Tips
Development
How Do I Fix NetworkOnMainThreadException?
A post detailing what NetworkOnMainThreadException is and how to prevent it.
TUTORIALS
Android
Kotlin
PDF
How To
How to View PDF on Android
This article presents existing free or open source libraries for opening PDF files in Android apps.
DEVELOPMENT
Android
Kotlin
Tips
Development
Retaining Objects Using a Fragment
An overview of how to use a fragment to retain objects during a configuration change.
DEVELOPMENT
Android
Kotlin
Insights
Development
Kotlin Coroutines
A look at Kotlin coroutines and how they compare to other solutions for concurrency.
DEVELOPMENT
Android
Kotlin
Tips
Jetpack Compose
Development
Using ViewModels to Retain State on Android
How to use Android's ViewModel class to retain complex objects across configuration changes.
DEVELOPMENT
Android
Kotlin
JavaScript
React Native
Development
Sharing Business Logic Using React Native
Not only can React Native be used to provide the UI for your application, but it is also a convenient way to share business logic.
DEVELOPMENT
Android
Kotlin
Tips
Instant
Development
How to Test REST API Clients in Android Apps
This article shows how we built simple and flexible integration tests for PSPDFKit Instant that are using a custom abstraction layer on top of an OkHttp mocked web server.
DEVELOPMENT
Android
Kotlin
Tips
Development
Using the Bottom Navigation View in Android
An introduction to implementing bottom navigation in your app with a simple example that incorporates synced page switching as well.
2018
DEVELOPMENT
Android
Kotlin
Insights
Development
What are Kotlin contracts and how are they useful?
An overview of the experimental Kotlin Contracts API.
DEVELOPMENT
Android
RxJava
Kotlin
Tips
Development
RxJava for Multi-Level Data Retrieval
RxJava can be useful for many things, and in this post, we’ll have a look at how to use it to add offline support to your app.
DEVELOPMENT
Android
Kotlin
Tips
Development
Moving Your Gradle Build Scripts to Kotlin
Another take on writing your project's Gradle build files in pure Kotlin code.
TUTORIALS
Android
Kotlin
How To
PDF
Best PDF Viewer for Android: How to Create a PDF on Android
Discover the best PDF viewers for Android and learn how to create PDFs with different methods, from using built-in tools to integrating powerful libraries like PSPDFKit.
DEVELOPMENT
Android
Java
Kotlin
Tips
Development
Async Stacktraces in Android Studio
How to create asynchronous stacktraces in Android Studio and IntelliJ.
DEVELOPMENT
Android
RxJava
Kotlin
Insights
Development
RxJava Is Async yet Blocking
An explanation of why RxJava is both asynchronous and blocking.
DEVELOPMENT
Android
Kotlin
Insights
Development
Using Kotlin to Make the PSPDFKit API Even Better
Kotlin provides the ability to extend any class with new functionality, and we can use this to expand the PSPDFKit API.
DEVELOPMENT
Android
Kotlin
Insights
Development
Simple Kotlin Tips for Beginners
Useful tricks for beginners to start writing better code with Kotlin.
2017
DEVELOPMENT
Android
Kotlin
Java
Security
Development
Secure Media Playback on Android
Picking smart defaults with security in mind when playing videos on Android.
DEVELOPMENT
Android
Kotlin
RxJava
Tips
Development
Writing Concise Code with Kotlin and RxJava
Tips and tricks how to write readable, concise, and beautiful code using the Kotlin language and RxJava.
2016
DEVELOPMENT
Android
Kotlin
Java
Tips
Development
A clean status bar with Android System UI and QuickDemo
How to enable Android's demo mode using a quick setting tile
DEVELOPMENT
Android
Java
Kotlin
Development
Restoring State in Android MVP Architecture
State restoration is an important part of the Android framework, but we might encounter problems with it when implementing MVP architecture.
DEVELOPMENT
Android
Kotlin
RxJava
Tips
Development
Android animations powered by RxJava
The purpose of this post is to show you how to combine RxJava features with animations on Android to create a great user interface without a lot of nested code.
DEVELOPMENT
Android
Kotlin
Development
Kotlin-Ready Online Guides
Our Guides received a large update – now with Kotlin usage examples.