Hi All,
i am trying to traverse a directory to get how many files are there, so i am doing a for loop
first:
local doc_path = system.pathForFile( nil,system.ResourceDirectory)
for file in lfs.dir(doc_path … “/assets/images” ) do
but the problem i am having is that doc_path is nil on android. It works on the simulator and on iOS, but not on android.
Is there something that i am missing?
Thanks!