문제

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