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 6621661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:17:46+00:00 2026-05-25T21:17:46+00:00

I’m developing an app that use Mobile Data connection (always GPRS) to upload in

  • 0

I’m developing an app that use Mobile Data connection (always GPRS) to upload in a loop each 5 minutes 300 kb of data. Between two upload i see that the data connection remains up (gprs logo on status bar) even if there aren’t data transferring….

In this time (between two upload) the battery is used by the Mobile Data connection?
Do you think that i should use this method to disable and enable connection between uploads to save the batterylife or is not helpfull?

If is it so…how can i use that code in my Service Class such as a function, without create a new class? THanx from a noob!

EDIT

The app is for my personal use and the app have the entire control of phone (the phone is alone and it doesn’t interact with the user). So i can sto all data connection…but i can’t use that code as i want (as a function!) Help me!

EDIT 2

Anyway i’m able to enable and disable “airplane mode”, but the reconnection require minim 13-14 seconds. May be this help to save battery in the “dead time”?

  • 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-25T21:17:46+00:00Added an answer on May 25, 2026 at 9:17 pm

    I’m developing an app that use Mobile Data connection (always GPRS) to upload in a loop each 5 minutes 300 kb of data.

    You are using whatever the user’s chosen data connection is. You can elect to skip doing the work on WiFi if you want, though I am not quite sure why.

    In this time (between two upload) the battery is used by the Mobile Data connection?

    The GSM or CDMA radio is always consuming battery. It consumes more during active data transfer, but it is always powered on (except when the device is in airplane mode).

    Do you think that i should use this method to disable and enable connection between uploads to save the batterylife or is not helpfull?

    Only if the only person who will ever run the application is you, you are running an Android 2.2 device (or older), and you don’t mind messing up your phone.

    The code you link to is pathetic — it might break on some devices and might break in the future, since it is bypassing the SDK. Moreover, if it is not your phone, I am not quite certain why you think you have the right to foul up other people’s devices. And, to top it off, you can no longer hold the permission necessary to use that hack, as of Android 2.3.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I am using Paperclip to handle profile photo uploads in my app. They upload
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported

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.