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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:38:22+00:00 2026-05-21T20:38:22+00:00

I am trying to make an app , where if the user enters a

  • 0

I am trying to make an app , where if the user enters a particular region, he will get an alert. And that will work even if the app is in background.

I found Ti.App.iOS.backgroundService to do that for iphone but how to start the background service in android and how to present local notification kind thing when particular latitude and longitude is found.

so basically my questions are :-

  1. background location service in android
  2. android equivalent for localnotification
  • 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-21T20:38:23+00:00Added an answer on May 21, 2026 at 8:38 pm

    For background geo on Android I use the below strategy.

    1) In my app.js I add an Titanium.App.addEventListener that contains my geo logic

    Kitchen Sink Sample https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/app_events.js

    2) I then create a ServiceIntent that fires every 15 minutes

    Kitchen Sink Sample https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/android_services.js

    Please note this service.js you call needs to be in your android folder, even if you have an android only project.

    3) The service checks if the individual has moved more then 1KM, if they have it fires the App Event defined in step 1.

    Using this strategy and adjusting my service time and distance calculation I’ve been able to reduce most of my battery drain issues that I had with the built in location event with distance filter.

    Hope this helps.

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

Sidebar

Related Questions

I am trying to make an app that will pass data between two servers
I'm trying to make an alert box that appears only when the app is
I am trying to make a WP7 app that would Tweet short messages user
Hey there, i am trying to make a little app that will serve multiple
as I get closer to releasing my app, I'm trying to make sure that
I'm trying to make an app that can work on multiple devices. Desktop, Mobile
I was wondering : I'm trying to make an app that as a Listview,
I am trying to make a web app in Dashcode that uses a range
I'm trying to make a console app that would monitor some process and restart
I'm trying to make a general error handler for an iPhone app that brings

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.