B4J Question AsyncStreamsObject Question

eurojam

Well-Known Member
Licensed User
Longtime User
If want to send a file to device File.DirRootExternal from B4J, something like
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
how is the correct adress for this?

Thanks in advance
stefan
 

kreativa

Member
Licensed User
Longtime User
Hi,
I need a help!
I have a gps tracker communicating with a servlet wrote in b4j on my webserver. the tracker connect to server platform using TCP protocol.
How i can read input string coming from tracker (i tried to use ServletRequest but i receive the error bad message NO URI).

maybe i have to use Asyncstreamsobject but can you show me some examples?
 
Upvote 0

eurojam

Well-Known Member
Licensed User
Longtime User
Hi,
I need a help!
I have a gps tracker communicating with a servlet wrote in b4j on my webserver. the tracker connect to server platform using TCP protocol.
How i can read input string coming from tracker (i tried to use ServletRequest but i receive the error bad message NO URI).

maybe i have to use Asyncstreamsobject but can you show me some examples?

better to start a new thread with your question
 
Upvote 0
Top