T TAK Member Licensed User Longtime User Nov 8, 2014 #1 Hello, I would like to send String from smartphone to a server (B4J). How i have to do this? With AsyncStream? Thx
Hello, I would like to send String from smartphone to a server (B4J). How i have to do this? With AsyncStream? Thx
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2014 #2 What do you want to do with this string? Upvote 0
T TAK Member Licensed User Longtime User Nov 9, 2014 #3 Erel said: What do you want to do with this string? Click to expand... save in a CSV File on the Server/Computer Upvote 0
Erel said: What do you want to do with this string? Click to expand... save in a CSV File on the Server/Computer
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2014 #4 A simple B4J server app will be the best solution. It might sound complicated but it is simpler than managing the communication yourself. You can then use HttpUtils2 to send the string to the server. Upvote 0
A simple B4J server app will be the best solution. It might sound complicated but it is simpler than managing the communication yourself. You can then use HttpUtils2 to send the string to the server.
T TAK Member Licensed User Longtime User Nov 9, 2014 #5 Ok thx. Do you mean this tutorial? http://www.b4x.com/android/forum/th...p-to-your-b4j-server-over-the-internet.37201/ But i would like to use only TCP and no HTTP. Or it is a bad idea? Upvote 0
Ok thx. Do you mean this tutorial? http://www.b4x.com/android/forum/th...p-to-your-b4j-server-over-the-internet.37201/ But i would like to use only TCP and no HTTP. Or it is a bad idea?
Erel B4X founder Staff member Licensed User Longtime User Nov 10, 2014 #6 Actually this one is better suited: http://www.b4x.com/android/forum/th...device-desktop-and-web-reports.37254/#content You can use TCP. But you will need to manage the communication yourself. It is not too complicated: http://www.b4x.com/android/forum/th...ceive-objects-over-the-network.34612/#content Upvote 0
Actually this one is better suited: http://www.b4x.com/android/forum/th...device-desktop-and-web-reports.37254/#content You can use TCP. But you will need to manage the communication yourself. It is not too complicated: http://www.b4x.com/android/forum/th...ceive-objects-over-the-network.34612/#content
T TAK Member Licensed User Longtime User Nov 17, 2014 #8 Hello, I have problems with the B4J part and no idea how i can solve this problem. Can somebody help pls? Last edited: Nov 17, 2014 Upvote 0
Hello, I have problems with the B4J part and no idea how i can solve this problem. Can somebody help pls?
Erel B4X founder Staff member Licensed User Longtime User Nov 17, 2014 #9 1. Please use File - Export as zip when uploading projects. 2. Which problems do you have? Upvote 0
T TAK Member Licensed User Longtime User Nov 17, 2014 #10 2. My B4J Code is wrong, I dont really know how i can receive the string. Thx Attachments TestSocketB4A.zip 7.2 KB · Views: 187 TestSocketB4J.zip 1.1 KB · Views: 149 Upvote 0