public
void
searchAllFile(File fileList){
File[] list = fileList.listFiles();
if
(list==
null
){
return
;
}
else
{
for
(File file : list){
(file.getName().endsWith(
".*"
)){
TextView text2 = (TextView) findViewById(R.id.text2);
TextView text4 = (TextView) findViewById(R.id.text4);
TextView text6 = (TextView) findViewById(R.id.text6);
file.getClass().getResource(
"/storage"
).getPath();
// ... .* 파일일때 할일
이런식으로 모든폴더를 돌면서 그 경로를 text2에 출력하고 싶은데요.
어떤식으로 해야되나요..?