I am trying to create a Service in my application which will provide location to the activities (of the same app, not others) that need it. I would prefer to use Google Play Services
rather than LocationManager
.
Could you give me an example of such a Service? Also, how do I start it and how do I get the location from an activity?