iOS Question How to read and write to remote data

Michael K. Therkildsen

Member
Licensed User
I get som wired text when reciving data. I downloaded the AsyncStreamsObject for B4i, and made a server i VB.NET 2012, I get the connection so this is fine. but when pressing send form or send number in the B4i app I get yyyp at the server end?
upload_2015-12-15_21-16-25.png
 
Upvote 0

Michael K. Therkildsen

Member
Licensed User
Hi Erel

I have a running program in VB.NET where I collect data from the Building CTS, ADK og AIA server, now I want to have a IOS app where I can present the data to a remote user. The VB.NET application collects and sort data in Excel.

The IOS app will send "username,password", and the VB.NET app will return the data for the user, so this can be presentet on the IOS screen..
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You will need to work with the raw bytes. You can convert bytes to string with BytesToString command and "sdfsdf".GetBytes("UTF8").

The difficult part which you need to solve is that messages can be split or merged. When you use AsyncStreams in prefix mode, it takes care of it. However you cannot use it with VB.Net.
 
Upvote 0

Michael K. Therkildsen

Member
Licensed User
Thanks Erel

I try to install your 4BJ, to se how this works. My idea was to use vb.net (I know this language) and your B4i (looks simple) to build a app, to presentation the data from the vb.net to a iPhone.
I will look at the B4J maby it's better to make the connection between B4i and B4J and then make somthing so that B4J retrive the correct data from the Excel file? Do you know if it's posible for B4J to search for specific data in a Excel file, and then retrive it?
 
Upvote 0
Top