Android Question multiple connection

csjoe72

Member
Licensed User
Longtime User
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)
 

Xandoca

Active Member
Licensed User
Longtime User
I think the only way is using services. Android may destroy the activities that are not in "screen".
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Switch to B4XPages and forget about such issues
 
Upvote 1
Top