How to include files to final app (locally instead of external linking)

How can I include all audio-files in an app and link them in a list so the audio-widget can read them (locally and offline)? I bet there is a solution, even a very simple one. But, I just don’t find it :man_shrugging:t3:

Details of my understanding (or misunderstanding) and the issue I have:
As far as I know, any image, audio or video is included in the app when the designated widget is used. So, after exporting the project, the files are included in the app. That is perfect, if the app needs to be used offline, since no data must be downloaded. But, it is only one file for each widget.

I want the app to come with all files, necessary to work (offline if needed). In my app, the audio widget receives the local file-url via a database table. All audio files are located in the same folder as the flipabit-project on my computer (in a subfolder). That works fine in flipabit-builder. But, when I run the app on my phone, no files are included and therefore no audio is played. Sure thing, because the link is still directing to my computer. What am I missing here?! :roll_eyes:

Here is the example project with source files (1.1 MB)

  1. In the folder with audio files, create a text file with a list of audio files:

  2. Add a Table widget and connect it to the new database (CSV → Local file → Open and select text file with a list).

  3. Add an Audio widget and connect it to the same database to the file column.

  4. Add the required actions.


Wow! That looks like a great solution!
I’ll use it and see if my project works at the end. So far it seams like it solved the problem.

Thank you very much for your help and your detailed explanation.

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.