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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:53:26+00:00 2026-06-14T19:53:26+00:00

Im developing a mobile application using Android 2.3 Here i want to capture the

  • 0

Im developing a mobile application using Android 2.3

Here i want to capture the gps location and send the location co-ordinates (If it captured otherwise send 0) to web app with the one hour time gap.

The gps capturing is time and battery consuming.

In my application i use alarm manager that repeat with 1 hour time duration.If alarm arise then a receiver (BroadcastReceiver) is invoked then the gps capturing and send to server module is executed

Here when receiver notifies then gps capturing started the listener ,then immediately the location co-ordinates send to server.But here problem is location capturing time consuming so for sending module the location details remain as 0.(location not captured.But after sending to server after some time location captured)

So my plan is to create 2 alarm .One for capturing gps (Started before 10 minutes of sending server) and other alarm for sending server which is repeated for 1 hour.

Here my doubt is AlarmManager is a android system service.

Is there is possible to run 2 different alarm with 2 different repeat values (repeat with 1 hour for 1 alarm,repeat with 30 minutes for other alarm,etc) in a same application

  • 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-06-14T19:53:27+00:00Added an answer on June 14, 2026 at 7:53 pm

    Yes it is. I once created an Android app that has one alarm that fires off every 10 minutes, the other two alarms every 15.

    You simply have to create a different PendingIntent object for each alarm and add each one to the AlarmManager via the setRepeating method.

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

Sidebar

Related Questions

I am developing an app using phonegap for Android. I want this mobile application
I'm developing a mobile application in android. Here I want to detect the IP
i am developing one simple application for android mobile here i am using two
I'm developing an application for mobile and tablet using android 2.3** I want to
I am developing an android mobile application using eclipse. I need a database that
I am developing a android mobile application using java. I am trying to use
I am developing a mobile application in android using eclipse and phonegap. and my
I have developed application for android based mobile using Java. I have tried developing
I'm working in android (developing application for mobile and tablets). I am using android
I'm developing a mobile web applications using jquery mobile, HTML 5. From this application

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.