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
5
votes
1 answer

How does the Reminders app know to only track my location on the day of the reminder?

In the Reminders app introduced with iOS 5 you have the ability to setup a geofence, so your reminder alerts when you come near an address. Location based reminds can also be configured for a specific day. Apple is very efficient about how they…
Chris Wagner
  • 20,773
  • 8
  • 74
  • 95
5
votes
1 answer

How to notify user when he enter into some region using Geoloqi API?

In my Android app i used Geoloqi API for geofencing https://developers.geoloqi.com/android/getting-started .I ve created triggers using some latitude,longitude.now when user enter into those regions i ve to notify him.i ve created Receiver class…
P Srinivas Goud
  • 886
  • 1
  • 12
  • 30
4
votes
1 answer

Android geo-fence is not triggering without requestLocationUpdates

I have a pretty standard geo-fencing setup. Exactly as described in this official doco. So there's a GeofenceBroadcastReceiver with a onReceive method that is supposed to fire when geo-fence events occur. Here's how the geo-fence areas are…
Vahid
  • 1,829
  • 1
  • 20
  • 35
4
votes
1 answer

use multiple location geofencing

I used this code (https://www.youtube.com/watch?v=nmAtMqljH9M&list=PLdHg5T0SNpN3GBUmpGqjiKGMcBaRT2A-m&index=9&ab_channel=yoursTRULY) (https://github.com/trulymittal/Geofencing) That code makes geofence by click and uses just one geofencing. But I…
강성우
  • 47
  • 5
4
votes
2 answers

Exception in thread "main" java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0 when i am using Google Map jar

I am working on Geo Fencing So I am using Google Dependencies "android-maps-utils" and "geopackage-android-map" I installed these jar in my system and using them in pom.xml file its working fine in eclipse IDE but when i built the project and run…
Jitendra
  • 41
  • 1
  • 2
4
votes
1 answer

How to deal with background geofencing in 2022?

Here is the situation: When a user creates a Geofence, I save it to backend and I register a Geofence with the OS. But whenever my app restarts I fetch geofences from my backend and reregister them with the OS again, since they keep disappearing. I…
Marci-man
  • 2,113
  • 3
  • 28
  • 76
4
votes
1 answer

Geofencing radius distribution/ratio across multiple geofences

I understand that this problem might be simple geometry, but Im using specific shapefiles for a geographical area and looking for a specific gis solution (hopefully code). Essentially Id like to find the area of black that covers each separate…
Michael Ramos
  • 5,523
  • 8
  • 36
  • 51
4
votes
1 answer

Android 8 Geofences on killed app

With the transition to android 8 I encountered an issue that geofences in app are not working anymore when app is killed. I implemented geofences as per android developers guide, so no reason to show any code snipplets. With some small…
4
votes
1 answer

Geofence events not always called

This is how I add my geofences: public void setGeofenceRequest(Location location) { if (geofences == null) { geofences = new ArrayList(); } geofences.add(new Geofence.Builder() .setRequestId("3") …
rosu alin
  • 5,674
  • 11
  • 69
  • 150
4
votes
3 answers

Android geofence BroadcastReceiver

I have implemented geofences using the GoogleApiClient -> when triggered, a Service connects to the GoogleApiClient and adds several Geofences. Before I had another IntentService registered as "callback" for geofence events. This worked more or…
Thomas S.E.
  • 1,528
  • 16
  • 28
4
votes
0 answers

Creating custom CLRegions for monitoring

I'm building an app that uses geofencing but I realised that CLRegion has many limitations, for example: that location authorizationStatus must be .authorizedAlways in order for region monitoring to work. only circular regions can be monitored…
Wink
  • 187
  • 7
4
votes
0 answers

Swift Geofencing working with GPX file but not on the real device

when I run the code below testing using my phone connected to my mac I have a GPX file and on the debugger I select "Locations" everything works fine, every region I have on the GPX file gets triggered, the notification comes up with no problem. …
Rodrigo Schreiner
  • 153
  • 1
  • 1
  • 7
4
votes
2 answers

NativeScript and geofencing - How? If even possible

I have an idea for an app, where I need to implement geofencing. In other words, I want to specify different places, and when a user gets near it, I want it to make an HTTP request to my server. I'm still learning Swift, and I do know Java, but I…
4
votes
2 answers

Android geofence transition triggers

I'm building an app which includes googles geofences, which i created with both ENTER and EXIT transitions. The problem occurs when turning "Location" on, when inside my geofence, it triggeres both transitions, when only the ENTER transition should…
Mads Gade
  • 53
  • 1
  • 6
4
votes
0 answers

Restrict Android user location within city perimeters

I'm building an app where I need to apply bounds on user's location (Lat,Lng) to be within city perimeters like Uber. How can I achieve this? This one is when within city perimeters This one is not in city or Uber's service zone. I have tried this…
Abhishek Dey
  • 1,601
  • 1
  • 15
  • 38