It seems that within CF.NET the class System.IO.FileInfo supports getting and settings attributes. Maybe you can use the Door-library somehow to set the attributes although I can't say since I never used it. In addition, I don't know if a "font" is considered a file.
Here is some sample code in C# which I found:
B4X:
FileInfo fi = new FileInfo(fileLocation);
if((FileAttributes.ReadOnly) == (fi.Attributes &
FileAttributes.ReadOnly)) // bitwise comparison
{
fi.Attributes -= FileAttributes.ReadOnly; // remove the readonly attribute
}
Maybe you can write your own specific library for this purpose or maybe Erel can give you a helping hand with that.
Andrew
I did use your filesEx : I save the font file to the device in a different name (instead of .TTF) and then I run a small application to rename the file to the correct name.
I think I am almost there - the process works, I get an error after the renaming application is copied but for this one I can use errorlabel :sign0060:
Andrew
I did use your filesEx : I save the font file to the device in a different name (instead of .TTF) and then I run a small application to rename the file to the correct name.
I think I am almost there - the process works, I get an error after the renaming application is copied but for this one I can use errorlabel :sign0060: