I tried to use system.pathForFile(nil, system.ResourceDirectory) with lfs to get a list of files in resource directory. It works on iOS. I recently need to support Android platform and I found that it doesn’t work on Android.
See question 2 on http://www.coronalabs.com/blog/2012/05/16/faq-wednesday-5/
Is there any method for me to get a list of files in resource directory on Android without hardcoding the file list?