How to "do something" based on location


Last Updated:

  1. wolfie

    wolfie Member This Topic's Starter

    Joined:
    Jun 17, 2010
    Messages:
    6
    Likes Received:
    0
    Hello,
    I've written an app that detects my location and posts it to a server. It works fine. Let's call this app 1.

    Now I'd like to write a background service that launches app 1 when the device is located in a specified location, which will be held in the device's database.

    Can someone point me to examples or information on how to create a background service that runs automatically when the phone is turned on? Also if anyone has seen articles on how to efficiently implement this that would be helpful. (For example, if the device is a hundred miles from the nearest location of interest, it should sleep for some logical amount of time before checking the it's location again.)

    Thanks...
     

    Advertisement
  2. wolfie

    wolfie Member This Topic's Starter

    Joined:
    Jun 17, 2010
    Messages:
    6
    Likes Received:
    0
  3. wolfie

    wolfie Member This Topic's Starter

    Joined:
    Jun 17, 2010
    Messages:
    6
    Likes Received:
    0
    Never mind, I found some info after googling proximity alert.
     

Share This Page

Loading...