I am working on Location and Geo Fencing. But I have seen couple of problems. I think that I have missing some thing but indeed I have many confusions regarding Geo Fencing and Location services Such as Fused Location API.
What I am doing
According to my App scenario, I have to get the user location ( which I am getting using Fused Location API) and also I have ask the user what is his destination and let say he is on Point A and he picks Place F. Now I want that My app should notify him that he has Arrived at point F.
Problems and Confusion :
I am notified (through my notification) that I have arrived to my destination only and only if I am in my app. it looks like that my location did not update google to my current location. so what is a best way that if the app is close or in back ground google still track him
What I am doing is creating the geo fence around the destination of user. Now I do not know what is a way of google to track user. ? can you please clear me that after creating geo fence how does google track Us ?
Do I need to implement some thing in service so that my service should remain running if my app is in background or even my app is force closed?
I think I am quiet clear about my question that What I want . Please share your views and also tell me how does google track us when we geo fence any location ?
I am following this to create the geofence.
Please sahre your views.