Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top