Question

I want to use the google play service to create an app. My goal is to use the location info even when the app is in background.

I have to create the link with google play service in an intent service or else use sample activity and avoid to stop the connection when app is in background??

Was it helpful?

Solution

Use a pending intent approach and set your intentService with it, in this way when Android launch the intent your service is started.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top