Android Question ListAll for Folders

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Using Erels code ListAll

If found by making the following change you can get the folder (bucket) names within a folder (bucket)

B4X:
   '-----------------------------------------------------------------------------------------
   '  Doing a getPrefixes returns the folder/bucket/directory {your choice} names
   '-----------------------------------------------------------------------------------------
   Dim Items2         As List         = ListResult.RunMethod("getPrefixes", Null)              

  For Each ref2 As JavaObject In Items2
         res.Add(ref2.RunMethod("getPath", Null))
  Next

Sorry I guess I forgot to put the url in
 
Last edited:
Top