How to get all filenames inside a folder in my assets folder in android? Please help. Thanks in advance.
Get an AssetManager
(using getAssets()
from a context or activity), and call list("subdir")
from it(replacing subdir with the name of the folder inside your assets folder).
That will get you a String[]
with all the filenames you seek.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With