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 ...
Get Delphi Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.