I was not clear. I wanted to set the path to upload files in specific folders.
SOLVED
B4X:
Dim os As String = GetSystemProperty("os.name", "").ToLowerCase
If os.Contains("linux") Then
dirfolder = "///opt/mydir/mysubdir/"
ELSE
dirfolder = C://MYDIR
End If
Dim out As OutputStream = File.OpenOutput(dirfolder, name, False)
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.