Questions tagged [android-geofence]

Represents a geographical region, also known as a geofence.

Geofences can be monitored by geofencer service. And when the user crosses the boundary of a geofence, an alert will be generated.

As currently implemented, in the Google Play Services API, geofences are circular, defined using coordinates (lat, long) and radius.

Documentation

563 questions
-1
votes
2 answers

How to fix geofencing Trigger in Samsung Devices specially in latest one s9 and s10

Geofencing is worked well in other android devices like Nokia, Motorola, Lg. But not in give Exit and Enter Callback in the latest Samsung devices. It will Register and unregister well.
Prabhat Rai
  • 1,532
  • 2
  • 10
  • 12
-1
votes
1 answer

How to re-register geofence in Oreo

My application uses Geofence to notify user that device entered to specific location or Geofence works fine up to marshmallow but in Oreo it does not as in Oreo provider change broadcast can not be registered in menifest so can not get broadcast…
-1
votes
2 answers

how geofencing can be more accurate than checking location at regular intervals?

I don't understand how geofencing can be more accurate than checking location at regular intervals (https://codelabs.developers.google.com/codelabs/background-location-updates-android-o/index.html?index=..%2F..%2Findex#6) ? Because let say I m at…
zeus
  • 12,173
  • 9
  • 63
  • 184
-1
votes
2 answers

How do I create a Android app using geofence in which when the user reaches the destination it automatically get rewards without doing anything?

I thought of sending location based push notification which when clicked give the person points https://documentation.onesignal.com/docs/location-triggered-event in that case if notification were cleared the person will not get reward, how can i…
-1
votes
2 answers

Geofencing not triggered when user exit that fence?(P.S.when it is already on same area it triggered)

So Far :- When user in same(under fence area) it gives notification "user enters in area" is ok.But same user leave fence area its not notified. This is my code:- public class MainActivity extends AppCompatActivity implements …
sagar potdar
  • 598
  • 1
  • 6
  • 22
-1
votes
2 answers

How to restrict user login based on location latitude longitude

I am developing a attendence app. It logs in user when user reaches in office else it shows a message "not in office". So for this i need to get users location and need to check whether its between office longitude latitude values. the user can…
-1
votes
1 answer

Calling a method upon exiting Geofence

I want to call a method in when the user has exited the geofence radius, I'm not entirely sure how to go about that. It seems I have to work with GeofenceTransitionsIntentService(), but all I'm finding is outdated code
Alex oladele
  • 69
  • 11
-1
votes
1 answer

Matching current Location with Database list of location with in 50 miles

i am trying to work on application , in which i have List of location from database and i want to check Which location from database is near to my current location within few miles like 20 miles and list got refreshed automatically with the refined…
kim jot
  • 74
  • 2
  • 12
-1
votes
1 answer

Android location updates & cell location

I am developing an application that will perform some operation once user enter into predefined area even if GPS is off or not available. Issue : How to identify user has entered into that area(radius or accuracy of 500 to 700 meters). Possible…
napster
  • 687
  • 1
  • 8
  • 18
-1
votes
1 answer

How to get number of pixels equals to a radius of Geozone circle according to zoom level? OR Radius of zone circle to screen pixels?

I am creating Geozones on google map. Default Circle that map API provides is laggy when scroll the map. So, I wanted to create my own circle (overlay on map). I created circle with radius of 300 meters which is fixed. The width of this circle…
cgr
  • 4,578
  • 2
  • 28
  • 52
-1
votes
1 answer

Starting a service on entering Geofence in Android

How can I start a Service on entering a Geofence in android. I need to download data from the internet on entering a Geofence. Is it possible?
django
  • 21
  • 3
-1
votes
1 answer

Android Google Map update geofence area/radius on drag

Hoping that you are aware with android map's Geofencing feature where we can draw/highlight particular area (radius of circle in meter) on Google map as displayed below. My requirement is that I need to change this area by dragging circle border.…
-1
votes
1 answer

How to relate geofence with the database in my android device?

I am pretty new to the android app development and I would like to develop an app about geofencing. Under my understanding, geofencing can be related to my own database stored in the device memory and it has a limitation that only 100 geofencing can…
ow123
  • 1
  • 2
-1
votes
2 answers

android app stopped unfortunately

When I run the app in emulator it says app stopped unfortunately. Here is the logcat, can anyone find what is the error? 08-29 12:57:01.014: E/Trace(780): error opening trace file: No such file or directory (2) 08-29 12:57:01.244:…
-1
votes
3 answers

Is it possible to make a location based app?

Would it be possible to make an Android application that works based on location, for example when you get to work the app might turn off WiFi or Bluetooth or change any other system settings in order to save battery or something? The app would…
1 2 3
37
38