0

I am developing an application in which I have to make the geofencing but with Fused location may or may not be GPS signal available.

With the available example of geofencing, It shows Geofence service is not available now when gps becomes off.

https://developer.android.com/training/location/geofencing.html

I want to get the location from fused location for Geofencing. Is it possible?

Developer
  • 1
  • 1

2 Answers2

0

I used FusedLocationApi before, here is some code https://drive.google.com/drive/folders/0BzCeun34V4j7djdySVBZaDFkdTA?usp=sharing

Alex Shutov
  • 3,217
  • 2
  • 13
  • 11
0

Generally if you use Geofencing in emulator you get error message like Geofence service is not available now. Try using an app like Lockito to mock location/trip and then use Geofencing.

NinjaCoder
  • 2,381
  • 3
  • 24
  • 46