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.

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top