google play services - Not able to receive geofence alert in android -
google play services - Not able to receive geofence alert in android -
i have implemented geofencing in app using android demo(http://developer.android.com/training/location/geofencing.html). problem accurate alert notification when google maps or app request location update open , gps enabled. don’t alert notification when 3g or wifi on. have kept 1000m geofence radius. when 3g or wifi on , standing in middle of geofence area don’t alert notification.
do need request location update manually or takes time geofence trigger alert notification?
my geofences work ok when first phone call requestlocationupdates
, in onlocationchanged
callback add together geofences locationclient
so assumption right manual update needed.
i have set polling of location 1 min or 100m, application behaves maps, getting location time. api locationmanager.requestlocationupdates(string provider, long mintime, float mindistance, locationlistener listener)
android google-play-services geofencing android-geofence
Comments
Post a Comment