Android Question read subfolder of folder file

Discussion in 'Android Questions' started by Roberto P., Jun 25, 2015.

  1. Roberto P.

    Roberto P. Well-Known Member Licensed User

    I read the list of files that I put in a subfolder of files, called img (contains images)

    if I add the subfolder name to File.DirAssets by mistake.

    upload_2015-6-25_9-10-15.png

    here are the commands that I use

    Code:
    Dim aPath As String    =        File.DirAssets & "/img"
        
    Log(aPath)
       
           
        aListaFiles     = 
    File.ListFiles(aPath)
           
        
    For i = 0 To aListaFiles.Size - 1
            aFile = aListaFiles.Get(i)
           
       
            
    Log(aFile)
           
        
    Next
    someone knows help


    thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    It is not possible to list the files in a subfolder inside the assets folder.
     
  3. Roberto P.

    Roberto P. Well-Known Member Licensed User

    thanks Erel
    there is a folder where I can create a subfolder with images?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice