B4J Question MediaException: MEDIA_UNAVAILABLE

Shay

Well-Known Member
Licensed User
Longtime User
Using build standalone package
and I am using in the code the dir.app (as I saw it on other thread)
SP1.Initialize("SP1", File.GetUri(File.DirApp, "correct.mp3"))
and I have copied the mp3 files to objects directory

while issuing standalone package the file are not been copied and getting the error:
MediaException: MEDIA_UNAVAILABLE

is it going to be fixed on next B4J versions? (instead of manual coping the files after export)
 

DonManfred

Expert
Licensed User
Longtime User
You should add the file to your Files folder and copy it at appstart to File.DirApp
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
I know, I was asking to add it automatically on next B4J build
Since it is not taking it automatically
 
Upvote 0
Top