Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6472805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:23:24+00:00 2026-05-25T06:23:24+00:00

I am running a service in my android application (2.3.4) that is uploading results

  • 0

I am running a service in my android application (2.3.4) that is uploading results from a database to an online server. I am doing the uploading in a thread inside the service.

The problem I am having is that when the screen goes to sleep, the connection seems to stop and the upload is paused until the next time I turn on the screen. I’m not sure if the problem is in the thread, the service or the internet connection. One of these seems to get paused to cause this issue. Has this happened to anyone else, do you know what is causing it and how to overcome this?

Appreciate the help, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:23:24+00:00Added an answer on May 25, 2026 at 6:23 am

    Are using connecting via WiFi? In the WiFi settings you can specify if the WiFi is dropped when screen locks. It’s meant to save battery when device is not used. Also, make sure your app is able to reconnect when the Internet connection changes from WiFi to mobile. If you have a socket connection open, it obviously drops when changing and you need to reconnect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a service running in my Android application which contains a HashMap that
I'm testing an android application with a long running service. I'm using Eclipse and
I have WCF Service and my Android application consumes it. I am doing this
Hello I have an android application which has a service running. After 20 mins
I'm developing an Android application that consists of: a lightweight background service that logs
My android application starts a service in the onCreate() callback of a class that
In my android application, i am running a remote service which is started in
I am using SOA architecture for my android application. I am running a service
I have an Android service that is running and listening for microphone input. I
I am writing an Android application that interfaces with a RESTful service. This web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.