KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have some files in the assets folder of my project, and I want to list them, so I put this in my code: File dir = new File("com.packagename/assets/fonts"); File[] fileList = dir.listFiles(); Which path should I put to make it work? I want it so users could install new fonts (I don`t know how to do this yet) so I need to list all the fonts in the folder, including post-installed fonts. If there is any other solutions, please share.
Tags (comma-separated)
Save Edits
Cancel