I have a project with an MP3 audio file which is about 20Mb. Since I have added the file to the project it takes very long to compile and install to the emulator. It seems that B4A tries to upload this file to the appropriate folder every time I try to run the App. Compliation/Installation time inceased from about 10sec to qbout 2min. Is there any way to prevent this mp3 file from uploading every time (if it already exists in the folder) ?
One other question: are the media file names case sensitive ? Another words if I refer MyFile.mp3 int the code and have myfile.mp3 in the folder, would it make a difference ?
Yes the filenames and directory names are case sensitive.
A 20MB MP3, really? If you really need such a large file, you might want to consider having it as a separate expansion file to your project. I haven't dealt with those, but see here for more info :
Alternatively whilst developing and testing, debugging etc.. you could have a smaller version of the file say 1MB or quite a bit less, so that this speeds up the development process. Otherwise, if it's in Files it will upload it every time.
Can you not compress or downsample the MP3 in any way? It seems awfully large.