O'Reilly logo

Delphi Cookbook by Daniele Teti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Displaying PDF files in your app

In the mobile world, you often need to show PDF files to your user. Maybe these PDF files are used as reports (usually generated by some reporting tool on the remote server), a statement about something that the user should do, a small book, or simply as a products catalog. So, how do we show a PDF that is deployed within the app or downloaded from some remote server and stored locally? How do we do it on Android and iOS? This is the topic of this recipe.

Getting ready

Let's say we have to create an app that contains some PDF files. In this case, we don't download the files but simply deliver them within the app. Later, we'll see how to download them from the network.

To deploy additional files within our app, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required