Android Question Cannot trigger 'Astream_ NewData' after tablet wakes up

BOHANG

Member
I have created a new service module and used Astream to send and receive TCP data. When the tablet closes the screen for one minute and then reopens, it can only send out data and cannot trigger Astream_ NewData function.
 

BOHANG

Member
Step 1 is to switch to B4XPages and remove the service.
My project is already using B4XPages, and attempting to include TCP functionality in the standard class is still not normal. Do you mean that TCP should also be included in the B4XPages class
 
Upvote 0

BOHANG

Member
I have found the reason, it's just a logic issue with the code, which is related to Astream_ NewData is not related, thank you for your help
 
Upvote 0
Top