I created an application with several activities.
Each activity connects and communicates with different tcp servers.
Is it possible for each activity (foreground and background) to continuously connect to servers and collect data?
(now only the one in the foreground is connected, the others are disconnected)