I would like to implement in my application that when it is installed the first time it creates a folder in the internal memory, and inside it put 2 pdfs that come with the same app. Is it possible to do something similar?
Maybe this can help you
well actually what I want is that first create a new directory in the internal memory for example with the name Myapp, and then put some pdfs there that see packaged with the app itself when installing ...
the truth I've been looking and do not know if this is possible
No, you cannot have a directory in the assets.
What are assets and what is a directory? I have the same problem and want to create a simple folder in internal storage/sd card (depends on selected by user). How can I do it? My files would be generated by this extension of @Juan_Antonio . I even don't know where this extension stores the files.
PS: I'm a total zero about storing and retrieving files...
- Make sure you are using the very latest version of the extension that provide for all Android versions
- Read all of this topic
[FREE] Create PDF file Extension. Layout to PDF
- Try the attached aia project, which shows how to save to both pre and post API 29
pdfA11.aia (12.8 KB)
- Assets are files you upload to the media folder in your designer
One Last question:
Is ASD different or same as Assets?
Read the tutorial again.
Oh, OK then. Assets are files you upload to your app when developing using the designer screen or blocks editor. They are read only but can be copied elsewhere using functionality in the app.
The ASD is the Application Specific Directory created when running your app on android version greater than 9 (API 28). From Android 11, this directory is only visible to the app itself.
(there is more to know and understand.....)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.