I am trying to make a preferences option that will show the name of all of the files in a specific directory. I have looked, but I haven’t seen anything that can do this. Is there a way? Thanks!
William
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This
will get you an array of all the files under
path_dirdirectory.Iterate over it and and append files[i].getName() to an array of CharSequence.