MoraviaVenus Member Licensed User Longtime User Jun 11, 2014 #1 Hi, in one of my apps I want to give the users the possibility to change application font. I want to load the pool of available system fonts to the list. On those devices I have available, Fonts folder is always under "/system/fonts/" directory. Please, how do I address the system folder "/system/fonts/"? I wanted to use on of following commands, but none of them is linked to system folder... Code: Copy Dim filesList as List filesList = File.ListFiles(File.DirInternal & "/System/Fonts/") filesList = File.ListFiles(File.DirAssets & "/System/Fonts/") filesList = File.ListFiles(File.DirInternalCache & "/System/Fonts/") Could you please help me how to get the list of system fonts? Thank you.
Hi, in one of my apps I want to give the users the possibility to change application font. I want to load the pool of available system fonts to the list. On those devices I have available, Fonts folder is always under "/system/fonts/" directory. Please, how do I address the system folder "/system/fonts/"? I wanted to use on of following commands, but none of them is linked to system folder... Code: Copy Dim filesList as List filesList = File.ListFiles(File.DirInternal & "/System/Fonts/") filesList = File.ListFiles(File.DirAssets & "/System/Fonts/") filesList = File.ListFiles(File.DirInternalCache & "/System/Fonts/") Could you please help me how to get the list of system fonts? Thank you.
NJDude Expert Licensed User Longtime User Jun 11, 2014 #2 To access the system folder you need to have root privileges, in other words, your device has to be rooted. Upvote 0
To access the system folder you need to have root privileges, in other words, your device has to be rooted.
stevel05 Expert Licensed User Longtime User Jun 11, 2014 #3 Have a look here http://stackoverflow.com/questions/...-list-of-available-installed-fonts-in-android Upvote 0