質問

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