You can request location updates within a pre-defined area, or at
pre-defined times which can be used for geo-fencing... Not sure exactly
what you need to accomplish so it's tough to suggest much more than
reading the " request Location Updates " documentation.
Sincerely,
Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://bgies.com http://nocrappyapps.com
http://bistroblurb.com http://forcethetruth.com
http://ihottonight.com
-----------------------------------------------------------------------
Everything in moderation, including abstinence (paraphrased)
Every person is born with a brain... Those who use it well are the successful
happy ones - Brad Gies
Adversity can make or break you... It's your choice... Choose wisely - Brad Gies
Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead
On 17/11/2010 2:20 PM, ip332 wrote:
As you know, location updates are requested from LocationProvider.
If you use NetworkProvider then GPS is not turned on.
The rest is in technical details which you should get from the
documentation (probably iPhone does it all by itself but in case of
Android some technical boring reading is required ;)
http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER
On Nov 17, 11:36 am, victor lima<[email protected]> wrote:
http://en.wikipedia.org/wiki/Geofence
How would I go about doing a geofence characteristic in my android
app? I dont want to be pooling the GPS hardware for location, and then
making some calculations to see if the current lat/lng location is
inside ( or not ) a delimited area. On iPhone ( dont know if I can
mention iphone here ;)) I can use some system API to notify me upon
entering/leaving a certain region that I had pre-determined in my
app... Is there anything that relates to that? How does android apps
do it? ;)
Thanks in advance,
Victor Lima
--
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