chjk Member Licensed User Longtime User Jan 4, 2014 #1 I wrote a send file to Android demo using Delphi, but b4a code: astream.StreamTotal get filestream size is error, Please help to solve! FileTransfer Demo here:http://www.b4x.com/android/fo...eceive-files-with-asyncstreams.30493/#content Attachments tcp File(delphi).zip 239.9 KB · Views: 405 FileTransfer.zip 12 KB · Views: 346
I wrote a send file to Android demo using Delphi, but b4a code: astream.StreamTotal get filestream size is error, Please help to solve! FileTransfer Demo here:http://www.b4x.com/android/fo...eceive-files-with-asyncstreams.30493/#content
giga Well-Known Member Licensed User Longtime User Jan 4, 2014 #2 Sorry not familiar with Delphi, But on a side note please correct your spelling in these areas: PublicWifiStatusAsString = "Diconnected" PublicBTStatusAsString = "Diconnected" Should be Disconnected. PublicWifiStatusAsString = "Disconnected" PublicBTStatusAsString = "Disconnected" Good Luck. Upvote 0
Sorry not familiar with Delphi, But on a side note please correct your spelling in these areas: PublicWifiStatusAsString = "Diconnected" PublicBTStatusAsString = "Diconnected" Should be Disconnected. PublicWifiStatusAsString = "Disconnected" PublicBTStatusAsString = "Disconnected" Good Luck.
chjk Member Licensed User Longtime User Jan 5, 2014 #3 giga said: Sorry not familiar with Delphi, But on a side note please correct your spelling in these areas: PublicWifiStatusAsString = "Diconnected" PublicBTStatusAsString = "Diconnected" Should be Disconnected. PublicWifiStatusAsString = "Disconnected" PublicBTStatusAsString = "Disconnected" Good Luck. Click to expand... Thanks giga! Hope someone can help solve it! Upvote 0
giga said: Sorry not familiar with Delphi, But on a side note please correct your spelling in these areas: PublicWifiStatusAsString = "Diconnected" PublicBTStatusAsString = "Diconnected" Should be Disconnected. PublicWifiStatusAsString = "Disconnected" PublicBTStatusAsString = "Disconnected" Good Luck. Click to expand... Thanks giga! Hope someone can help solve it!
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2014 #4 I'm not familiar with Delphi. The "stream" protocol is quite complicated. You can see a C# implementation here: http://www.b4x.com/android/forum/th...nt-asyncstreams-prefix-mode.30741/#post178604 Note that it will be much simpler to use B4J for such communication. Upvote 0
I'm not familiar with Delphi. The "stream" protocol is quite complicated. You can see a C# implementation here: http://www.b4x.com/android/forum/th...nt-asyncstreams-prefix-mode.30741/#post178604 Note that it will be much simpler to use B4J for such communication.