Home > Back-end >  Android, use under XE7 indyTCPClinet, mobile phone after the HOME button
Android, use under XE7 indyTCPClinet, mobile phone after the HOME button

Time:09-28

My wifi in testing the Arduino serial tests, using IndyTCPClient, if my program on a mobile phone is the main window, a TCP connection is no problem, but if my mobile phone press the HOME button, switch to the Android's HOME page, then enter my program again, tell I can't connect to wifi IndyTCPClinet TCP server, are rejected the connection
I want to understand
1. The mobile phone after press the HOME key, run the application before what would trigger events
2.. after press the HOME key, IndyTCPClient was dormant, its connection is to keep this kind of situation, considering the normal TCP server processes?
2. After press the HOME key, can own as a background, TCP connection, if cannot long connection, how to prevent rejection connections?

CodePudding user response:

HOME button program is still in the running state, no exit,

Unless there is insufficient memory, system over,
Switch back equal to reopen,