Home > Mobile > [Android6.0] network request failure problem after dormancy.
[Android6.0] network request failure problem after dormancy.
Time:10-05
The most into work on a project, it is necessary to real-time positioning, and timing to locate information on to the server,
This requires that the APP can run after the director, this step is implemented, But 6.0 system found in the testing process in breath screen after a few minutes, the process is still running, but the network request failed, the network connection is broken, again light screen, is normal,
6.0 8.0 9.0 system everything is normal, why not? , consult,
Have applied to join white list, also held WakeLock, also has the front desk service as well as the notification bar notification, mobile power management Settings of unlimited, Wlan advanced Settings - always keep the network connection, can say to Settings are set up, in such an environment, to stop the 6.0 system dormancy network interruption.
(don't know is 6.0 version of the problem, or a problem with the phone, the boss bought the miscellaneous brands of mobile phone, can't find the model,)
CodePudding user response:
CodePudding user response:
CodePudding user response:
In the low version of the android, rest, if it is a dormant for 10 seconds, but sometimes a dormant for 10 minutes
CodePudding user response:
In the low version of the android, rest, if it is a dormant for 10 seconds, but sometimes a dormant for 10 minutes