B bazp Member Licensed User Longtime User Jan 8, 2013 #1 I have several graphic files on a local directory. i would like to read the directory and put the names into an array. I then could randomly access the names in the array and retrieve them. Is there a simple way to do this? I can't think of directly accessing the files because the name vary from 5 to 25 characters long and there is no order to them thanks for the help.
I have several graphic files on a local directory. i would like to read the directory and put the names into an array. I then could randomly access the names in the array and retrieve them. Is there a simple way to do this? I can't think of directly accessing the files because the name vary from 5 to 25 characters long and there is no order to them thanks for the help.
goron Member Licensed User Longtime User Jan 8, 2013 #2 Working with files Take a look at: Files - Basic4android Wiki & here: http://www.b4x.com/forum/basic4android-updates-questions/22159-my-directory-directory-files.html HTH, Gideon Upvote 0
Working with files Take a look at: Files - Basic4android Wiki & here: http://www.b4x.com/forum/basic4android-updates-questions/22159-my-directory-directory-files.html HTH, Gideon