I have the following code to set the button font for a B4xDialog
When I execute this code I get the following error:
Access to the path 'C:\B4x Projects\My Android Project\MyProject\Objects\bin\extra\assets\myfont.ttf' is denied.
The font is in the assets folder. But access denied.
Any suggestions?
B4X:
dialog.ButtonsFont = XUI.CreateFont(File.OpenInput(File.DirAssets,"myfont.ttf"),16)
When I execute this code I get the following error:
Access to the path 'C:\B4x Projects\My Android Project\MyProject\Objects\bin\extra\assets\myfont.ttf' is denied.
The font is in the assets folder. But access denied.
Any suggestions?