Questions tagged [geofencing]

A geo-fence is a virtual perimeter for a real-world geographic area. Geo-fencing is a means of notification when a location-aware device crosses this virtual perimeter.

780 questions
10
votes
2 answers

How to know if an Android device is near an address google maps api

I'm developing an Android application which receives a given address. I would like to only let the app run on the device, if the user is on that address, or closer to it. Is that possible to do only with google maps api?
Felipe Mosso
  • 3,907
  • 11
  • 38
  • 61
10
votes
3 answers

Android max limit for geofences?

I'm starting with the geo fencing API of google play services. I think I understood the general concept but I couldn't find out if there's a limit for geofences. I give my list of geofences to the the location client and he handles the rest. But…
joschplusa
  • 1,353
  • 1
  • 13
  • 20
10
votes
4 answers

Do Android Geofences remain active until removed/expired or only until my PendingIntent is launched

I'm about to implement a feature with geofences and before I get any serious work done, I need to know whether geofences remain active after the first transition. The core of the feature is: every time I'm within x meters of point P (call this…
9
votes
1 answer

How can I view a list of monitored Geofences with ADB?

I am debugging a location aware application and I would like to get a list of Geofences that are currently being monitored by the system -- even if I can only see Geofences for my own package(s). The code is using GoogleApiClient and thus…
Bill Mote
  • 12,644
  • 7
  • 58
  • 82
9
votes
1 answer

Do I need to request location updates when using Fused location Geofences?

I have successfully implemented location geofencing using the Android Developers documentation. The problem I am having is that the geofence events are not always reliable. Sometimes they trigger as soon as I'm at the location, sometimes they take a…
Nick
  • 748
  • 1
  • 5
  • 23
7
votes
2 answers

iphone - Doubts on geofencing

I've heard of geofencing and I have some doubts. Hope you can answer some of them. -It's new for iOS 5.1 but what is the difference between geofencing and Using Regions? From what I've read is nearly the same, the battery drain? -Why can't I find…
subharb
  • 3,374
  • 8
  • 41
  • 72
7
votes
1 answer

Geofences randomly fail to trigger until another GPS app is opened

I have been testing an app for many months which uses the Android Geofencing API to track enter/exit events. It works flawlessly about 99% of the time, but there are random times when the geofences simply do not trigger. This cannot be an issue…
7
votes
2 answers

Android: Build Polygonal Shape Geofence

According to the API documentation, only Circular shape Geofences allowed: https://developers.google.com/android/reference/com/google/android/gms/location/Geofence.Builder And it's looks for example:…
7
votes
1 answer

GeoFence Not Triggered w/Mock Location

I am trying to test GeoFences for a location aware application. I have gotten as many as 11 consecutive successes, but that is typically followed by dozens of failures. Rebooting the device does not help. Uninstalling/reinstalling does not help. …
Bill Mote
  • 12,644
  • 7
  • 58
  • 82
7
votes
3 answers

Not seeing Geofence Transitions in Google's tutorial on Geofencing

I am trying to test Geofence functionality using Google's example: Creating & Monitoring Geofences. I have uploaded the code here. Problem is that I never get a notification of entry or exit. I have Wifi, 4G and GPS on. I have tried to test in the…
user1406716
  • 9,565
  • 22
  • 96
  • 151
7
votes
1 answer

Android Geofencing - No coming intents?

I have a strange problem. I implemented geofencing using Google Services. (Implementation below) On my devices (Samsung Galaxy S and Moto X) they work perfect. On some other devices (HTC Incredible S, Galaxy Note), I receive no transition intents.…
7
votes
2 answers

Does Android ProximityAlert or Geofence drain more battery when the phone is closer to a monitored location?

If I use an Android ProximityAlert with a given radius (say 100m), and my phone is regularly near (or at) that location, will the battery drain be greater than if I am rarely near that location? Is there a distance within which the battery drain…
Richard Russell
  • 1,105
  • 1
  • 10
  • 19
7
votes
2 answers

Android - Why use pending intents for geofences

I just finished the tutorial for geofencing on Android (http://developer.android.com/training/location/geofencing.html) and I wonder why the 'callback' for geofences are done via pending intents and not a simple callback interface. If implemented in…
Flo
  • 1,469
  • 1
  • 18
  • 27
7
votes
5 answers

algorithm to define a geofence and see if a point is inside/outside it

I am looking for an algorithm through I can create a geofence and check if a device is entering/leaving the fence. I have looked at point in polygon algorithms (ray casting and winding number) but are there any algorithms which can be applied to…
Nilgiri
  • 71
  • 1
  • 1
  • 3
6
votes
0 answers

Expo-React-native-map: Find nearest restaurants from user's current-location's 5 km radius

I am using React native maps for my app. I have restaurants data with latitude and longitude. I have setup user's current location by using expo location(Current location logic will work on real device not Simulator or expo's Snack). I sorting the…
Krisna
  • 2,854
  • 2
  • 24
  • 66
1 2
3
51 52