M mokrokuce Member Licensed User Longtime User Dec 17, 2019 #1 Hi, I am trying out this example, and I am wondering: Can all currently active GeoFences be returned from Android OS into my app? Also, I would very much appreciate if someone suggested some way of testing this feature other than walking around looking into my phone? Something like setting a fake location?
Hi, I am trying out this example, and I am wondering: Can all currently active GeoFences be returned from Android OS into my app? Also, I would very much appreciate if someone suggested some way of testing this feature other than walking around looking into my phone? Something like setting a fake location?
DonManfred Expert Licensed User Longtime User Dec 17, 2019 #2 mokrokuce said: Can all currently active GeoFences be returned from Android OS into my app? Click to expand... You need to check the documentation if there is such a functionality. I guess no. https://developer.android.com/training/location/geofencing.html YOU are crreating the geofence. What stopps you to save all relevant infos for this fence to a file, a database? Upvote 0
mokrokuce said: Can all currently active GeoFences be returned from Android OS into my app? Click to expand... You need to check the documentation if there is such a functionality. I guess no. https://developer.android.com/training/location/geofencing.html YOU are crreating the geofence. What stopps you to save all relevant infos for this fence to a file, a database?
M mokrokuce Member Licensed User Longtime User Dec 17, 2019 #3 I was hoping I could rely on the OS, but I will store the fences somewhere. Are the GFs with same ID rewritten? Eg. I make a fence with ID=1, lat/lon= 44/20 and then again I add a fence with ID=1 but lat/lon=37/29? Upvote 0
I was hoping I could rely on the OS, but I will store the fences somewhere. Are the GFs with same ID rewritten? Eg. I make a fence with ID=1, lat/lon= 44/20 and then again I add a fence with ID=1 but lat/lon=37/29?
DonManfred Expert Licensed User Longtime User Dec 17, 2019 #4 mokrokuce said: Are the GFs with same ID rewritten? Eg. I make a fence with ID=1, lat/lon= 44/20 and then again I add a fence with ID=1 but lat/lon=37/29? Click to expand... Don´t know. Check the documentation. It is more reliable than me. ;-) Upvote 0
mokrokuce said: Are the GFs with same ID rewritten? Eg. I make a fence with ID=1, lat/lon= 44/20 and then again I add a fence with ID=1 but lat/lon=37/29? Click to expand... Don´t know. Check the documentation. It is more reliable than me. ;-)