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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:50:07+00:00 2026-05-29T08:50:07+00:00

I am really amazed about this location aware system in android and not getting

  • 0

I am really amazed about this location aware system in android and not getting the consistent way to send periodic information to the server continuously. I wanted the application to be continuously running without fail even if the device is not switched off for month too. The problems I am facing are:

  1. Service getting Killed after few days or hours.
  2. If service is already there, the location information not being updated unless there are some kind of activity or movement on the device .

What might be the most recommended approaches? Currently I am creating a service to listen for location update on onCreate() method & send those data to server on onStartCommand() method. I have registered AlarmManager() from within service itself for 15 minutes periodicity to send location info…?

  • 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-29T08:50:08+00:00Added an answer on May 29, 2026 at 8:50 am

    The Android OS can kill a process at any time due to memory needs or other issues, so you have no guarantees that your process will continue to run. For similar reasons (limited resources on mobile devices), location services are optimized to reduce power consumption. One of these optimizations is to not provide location updates if you’re not moving.

    For a recommended approach, I’d go with this guy:

    http://android-developers.blogspot.com/2011/06/deep-dive-into-location.html

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

Sidebar

Related Questions

Really sorry because this is almost please send me the code - although really
Really ripping my hair out on this one. I have a JAAS Authentication Provider
Really quick jQuery question... I have this function: $(document).ready(function() { $('a#show1').click(function() { $('.item1').toggle(1000); return
Really wish i was God, then I would understand what this means: The element
really sorry about being totally thick today but I have forgotten how to do
really quick question does php 5 still support include_once because I am getting some
Really simple I just think it's me. this is file 1.php if(ctype_digit($_GET['id'])) { $item_id
Depending on your interpretation this may or may not be a rhetorical question, but
I'll preface this by saying, as a beginner, getting my program to actually print
Really banging my head with this. I am using isotope http://isotope.metafizzy.co/custom-layout-modes/centered-masonry.html . I have

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.