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, we 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 use the Deployment Manager accessible by navigating to Project | Deployment. To find out how to use it, check the Embarcadero documentation (http://docwiki.embarcadero.com/RADStudio/en/Deployment_Manager).
The additional file will be deployed in the private documents folder. Under Android, the private documents folder is identified as ./assets/internal, while on iOS it is identified as .\Startup\Documents. Using the Deployment Manager, put a PDF file in these folders for each platform ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access