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
0
votes
2 answers

Using Geofence with google api v2 in android

I am trying to create the Geofence in google location api-V2 But class LocationClient is not found in the latest version of google location library. Is there any way to use Geofence with google api-V2
Rahul Rastogi
  • 4,486
  • 5
  • 32
  • 51
0
votes
1 answer

Tracking in Geofence radious

I have Created application for geo fence. I implement location listener which sends me current Lat and Long. I have array of Lat Long and i created Geofence from this array. I want to check that Current lat long are within my Geofence Region or…
Amee
  • 29
  • 7
0
votes
3 answers

android detect various circles on a map v2

In my little app I have a map and i'm parsing an XML from the web, like this: 42.827602 -1.663957 Place one Snippet de place…
0
votes
0 answers

What is the best place to put Android Location listeners? Activity or Application class?

I am working on an application that requires user's current location. All application is based on user's location. Once the user opens the app, I retrieve their current location and use it. If they leave the application, I decrease minInterval and…
Gokhan Arik
  • 2,626
  • 2
  • 24
  • 50
0
votes
0 answers

What happened to LocationManager and Location services?

I have an app where I set up a geofence using either Google Play Services, or good old LocationManager. I have noticed that on newer versions of Android, the geofence event is not fired unless I have an app that brings up GPS running (like Google…
Rastio
  • 1,506
  • 1
  • 13
  • 18
0
votes
1 answer

Why did the tutorial on Android Geofences dissapear?

This used to link to a great tutorial on how to get geofences up and running on Android called "Creating and Monitoring Geofences" http://developer.android.com/training/location/geofencing.html I tried going back to look at the sample code today…
James
  • 2,742
  • 1
  • 20
  • 43
0
votes
1 answer

GeofencingApi addGeofences doesnt receive notification

I've created the registration classes for GeoFencing and an Activity Main to use it. I used a code found on this page: [Android LocationServices.GeofencingApi example usage This is my Activity Main: import android.content.Intent; import…
0
votes
1 answer

Geofence Android: PendingIntent doesn't trigger IntentService

I'm trying to develop a Geofence App for Android, that barely have to notify me when enter/exit/dwell in/from/into a Geofence. Despite all questions and answers I red, I'm still not able to figure out my problem. I think something is wrong with my…
AntCopp
  • 163
  • 5
  • 16
0
votes
2 answers

GeofencingRequest cannot be resolved to a type

I'm trying to develop a simple Android app that request the creation of a geofence to Google Play Services and does stuff when a transition occurs. My problem arises when I want to create GeofencingRequest mGeofencingRequest=new…
AntCopp
  • 163
  • 5
  • 16
0
votes
1 answer

Do I need to acquire wake lock when invoking a BroadcastReceiver

In the book Pro Android 4 By Satya Komatineni , Dave MacLean I've found: Android acquires a partial wake lock when invoking a broadcast service and releases it when it returns from the service in the main thread Does it mean that the Android OS…
0
votes
1 answer

Android pragmatically get vehicle status

In my application i need to find the vehicle status, i can get speed of vehicle using location manager but many article told that getting speed from location manager is not accurate, can anyone suggest me which method is best to find vehicle…
Madhu
  • 1,780
  • 23
  • 47
0
votes
1 answer

Android: 2d arraylist returning indexoutofbounds

I have the following class for android geofencing: public class gpsLocationChecker { List> locations = new ArrayList>(); //public location locations[][] = new location[8][500]; InputStream in; …
horin
  • 1,664
  • 6
  • 23
  • 52
0
votes
1 answer

how to use radiusnetworks proximity kit to show an alert when user enter the one of the Geofence Map Region

I'm trying to integrate the radiusnetworks proximity kit for my android app, I've already created an account on the radiusnetworks and have created kit with 8 Geofence Map Regions 1 Beacon Regions. how can i configure my android app to alert the…
0
votes
1 answer

android Geofence won't get any Transition updates

Geofence does not get any transition updates, despite setting location 100 miles away, does not trigger anything even GPS is on. public class GeofenceManager extends IntentService implements GooglePlayServicesClient.ConnectionCallbacks,…
iUK
  • 31
  • 8
0
votes
1 answer

Android geofence trigger activity

I want to start an activity when a person enters/exits a geofence(email/sms app,contacts app etc). Is this possible? If this is possible, the documentation suggests the following The Intent sent from Location Services can trigger various actions in…
Droidme
  • 1,223
  • 6
  • 25
  • 45