Android Question Creating a new folder on External SD Card

GuyBooth

Active Member
Licensed User
Longtime User
Add this sub to the class:
B4X:
'Creates a new directory
Public Sub CreateNewDirectory (Parent As ExternalFile, Name As String) As ExternalFile
   Return DocumentFileToExternalFile(Parent.Native.RunMethod("createDirectory", Array(Name)))
End Sub

I haven't tested it.
It works :)
 
Upvote 0
Top