Wow, that's great!

I missed those docs.

Thank you.

On Oct 18, 10:45 am, Filip Havlicek <[email protected]> wrote:
> Hi Hatch,
>
> you can always try 
> thishttp://developer.android.com/reference/android/location/LocationManag...,
> double, float, long, android.app.PendingIntent) although I'm not sure about
> battery consumption compared to your proposed method.
>
> Best regards,
> Filip Havlicek
>
> 2010/10/18 Hatch <[email protected]>
>
>
>
> > Hi all.
>
> > I would like to 'be notified' when the user enters a given range of
> > certain Geo point(s).
>
> > For instance, one point could be School. When User is within 500m of
> > the School he would get a notification (for example.)
>
> > Is this the way to go:
>
> > 1) Turn on LocationListener in a background service and ask for
> > location update every 5 minutes (is that a lot?)
> > on location update:
> > 2) check whether new location is better than the last one
> > 3) calculate distance of current location and School location.
> > 4) if within range: do something.
>
> > Am I transgressing something with such design ?
>
> > The Idea is to have a kind of a 'proximity sensor' to certain
> > predefined points.
>
> > Thank you.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to