android-geofence Questions

2

I've used the Android tutorial with Geofences which, obviously, doesn't work when app is closed. So, after searching around, I've noticed user b-ryce on SO used BroadcastReceiver so geofences get t...

3

As of Android 11, apps targeting SDK 30+ will not show a user an option to grant background location permission to an app more than once. If not initially granted, it requires users to go to a sett...
Fellmonger asked 7/10, 2020 at 15:3

1

I followed this tutorial using Java. As expected the BroadcastReceiver receives an Intent, but the GeofencingEvent fromIntent (Intent intent) method returns NULL. According to the docs for fromInte...
Arrearage asked 23/10, 2022 at 20:47

3

Solved

I am working on an Android app which makes use of geofence. I want user to decide the radius of geofence. But I want to know what is the minimum and maximum radius for the geofence so that app will...
Sheree asked 20/7, 2015 at 22:54

1

Solved

I setup a geofence which gets triggered as expected, when the device exits the radius. However the geofencing event is completely empty. override fun onReceive(context: Context, intent: Intent) { ...
Itching asked 22/1, 2022 at 7:49

0

I am trying to build a geofencing app using Kotlin in the android studio but the VM crashed then the next run show this error E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.map...

1

Solved

A new PendingIntent field in PendingIntent is FLAG_IMMUTABLE. In 31, you must specify MUTABLE or IMMUTABLE, or you can't create the PendingIntent, (Of course we can't have defaults, that's for lose...
Economizer asked 18/10, 2021 at 11:24

2

Solved

I am using the built in geofence APIs (play services) and have been having mixed results. It looks like after setting a geofence, the notifications for entering/exiting are very inconsistent even w...
Arawak asked 28/1, 2014 at 18:44

8

Solved

Recently run into a problem where adding geofences will randomly fail with an ApiException, status code 13 which is defined as "ERROR" no extra details provided. Normally the error codes are speci...

2

Solved

The problem occurs on Android older than Oreo and both Oreo and newer. I can't get geofences working even though following steps are done: Location services are set to High Accuracy Wi-Fi and m...
Sailing asked 1/1, 2019 at 14:14

12

I am getting an error in the onAddGeofencesResult(int statusCode, String[] geofenceRequestIds) callback with statusCode = 1000. I have my GPS enabled and my WiFi. I also have Google Play Services a...

2

Solved

I have been trying to implement Geofencing for an android app, and right now after initializing the GeoFenceRequest as per Google's Documentation and then adding it with the GeoFencingClient geofen...
Buxom asked 18/10, 2020 at 12:53

3

Solved

I have an app that started with the Google's geofencing sample code. It works great for a few days, and I get all the transition intents as I anticipate. However, after a bit of time, something lik...
Ultramicroscope asked 21/10, 2013 at 22:4

2

Solved

I am building an Android app for Android Wear. For battery savings I am trying to use Geofences to track if you enter or exit a location. But I cannot get it working. First of all I am not sure if...
Corrie asked 12/1, 2018 at 8:9

2

I followed this tutorial: https://developer.android.com/training/location/geofencing and works fine on Android < 8, but in Oreo i have problems due to new OS background limitations. How can I ...
Demivolt asked 21/6, 2018 at 9:24

4

Solved

In order to use the Geofence API the user has to give the app ACCESS_FINE_LOCATION. This location is considered to be dangerous and can be revoked at any time; once this permission is revoked, the ...
Blacken asked 16/4, 2019 at 9:47

0

I have implemented the android geofence code as per tutorial: https://www.raywenderlich.com/7372-geofencing-api-tutorial-for-android A weird thing is that the geofence triggers only work when Goog...
Vladimir asked 26/2, 2020 at 4:14

2

I've gone through the tutorial for Geofencing and I have question in mind. Does geofencing require you to continuously monitor the user's location ? Or will the LocationClient to which you add t...
Hinrichs asked 23/1, 2014 at 11:30

1

Solved

I am developing an android app based on user location. So I am using the "Geofence" enter/exit event. It is not easy to test. Because to test it, I should move out or in some location. So I am ...

2

Solved

I have a geofencing app that I am trying to port to get working on Android 8+. I've read the tutorial on the subject, and switched to using compile 'com.google.android.gms:play-services-location:16...

2

I'm attempting to add a geofence to an Android application. I noticed the following in the logs: 07-04 11:41:19.201 1945-2271/com.google.android.gms.persistent W/GeofencerStateMachine: Ignoring ad...
Weighted asked 9/7, 2018 at 20:18

1

Solved

I have a navigation app that used geofences(Creating and Monitoring Geofences). Google says (Background Location Limits): The average responsiveness for a geofencing event is every couple of ...
Horde asked 13/6, 2017 at 12:36

7

I can't fetch last known location. I have enabled Geocoding API and Google Places API for Android in google console. I added api key to manifest file: <meta-data android:name="com.google.andro...
Rabiah asked 4/6, 2015 at 17:19

1

I'm using android device's native Geofence service. Here are implementation details: Tracked transition type: ENTER Range: 500 meters (1640 feet) Notification responsive time: 500ms Added Ge...
Limner asked 21/11, 2018 at 5:38

1

Before when I was using geofence in my application I was using IntentService as its callback and everything was ok. But now because of changes in Android 8 I wasn't able to start service like that ...
Selhorst asked 22/10, 2018 at 11:44

© 2022 - 2024 — McMap. All rights reserved.