O'Reilly logo

Delphi Cookbook - Second Edition 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, often you need to show your user PDF files. Maybe these PDF files are used as reports (usually generated by some reporting tool on the remote server), as a statement about something that the user should do, which is in the form of a small book, or simply as a products catalog. So, how do we display a PDF 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 ...

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