I’m doing an Delphi Android application that which will receive the temperature from Arduino, I think do a sockets is a good way for to do this communication, but I’ve no idea how I can do a sockets with Delphi Android application, it’s different from Delphi for Windows. Can you help me about that? I’m using Delphi XE5. Thank you very much.

有帮助吗?

解决方案

Delphi ships with Indy, which supports all of the platforms that Delphi supports. Look at the TIdTCPClient and TIdTCPServer components as a starting point. Indy works the same way on all platforms, so you can use the same code on Windows and Android.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top