I have some problems while loading the file from the asset folder. I wrote a code to load a txt file into a textview and everything works good. If I try to put some order inside my txt file. I decided to put those files in subfolders in alphabetic order, because I have 800 text files. In this way my code is wrong. Is there a method to maintain the subfolders and load the file whitout specify where they are?? Thanks a lot
Asked
Active
Viewed 45 times
0
-
you should post your code and your log cat. – Kingfisher Phuoc Jun 28 '18 at 03:04
-
this thread will show you how to list the subfolders/files https://stackoverflow.com/questions/16234529/list-of-files-in-assets-folder-and-its-subfolders. this may help you – sunil Jun 28 '18 at 03:05