One more thing (looks related enough not to start a new topic:)

The Location manager triggers the appropriate intents just fine (way
to go !), but it seems I have to manually match with the original
location.

For instance, I request 'proximity reporting' to locations A, B, and C
but by their parameters (lon, lat, and radius)
The Location manager will trigger the proximity entering and provide
me with location X.

So now I need to run through all my locations to match which one's
boundaries have been transgressed.

Am I missing something, or that's the only way ?

Thanks again.


On Oct 18, 10:51 am, Hatch <[email protected]> wrote:
> Wow, that's great!
>
> I missed those docs.
>
> Thank you.
>
> On Oct 18, 10:45 am, Filip Havlicek <[email protected]> wrote:
>
>
>
> > HiHatch,
>
> > 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/18Hatch<[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