If want to send a file to device File.DirRootExternal from B4J, something like
how is the correct adress for this?
Thanks in advance
stefan
B4X:
Sub btnSendFile_Action
Dim fc As FileChooser
fc.Initialize
fc.InitialDirectory = File.DirApp
Dim name As String = fc.ShowOpen(MainForm)
If name <> "" Then
astreamO.WriteFile("file", "sdcard/mydir", name)
End If
End Sub
Thanks in advance
stefan