• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Need help with Android / Java development

N1GGA

Lurker
Good afternoon, members of the forum. I have an application, with MainActivity, which starts a service when the application starts. The service sends a POST request to the server every 10 seconds. Everything is fine, requests are received, but only before the phone screen is locked. If the screen is locked, the service seems to stop completely, and when the screen is unlocked, the service resumes and requests start being sent. What could be the problem and how to solve it? Thanks in advance
Android Studio, Java.
 
Back
Top Bottom