S
S
Shadrindmitry2019-08-07 18:27:38
Android
Shadrindmitry, 2019-08-07 18:27:38

How to get location via service?

Created a service with a locationlistener that saves the location in the database. Once the activity goes onstop, the service is no longer listening to the locationlistener, however the service is still running. What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2019-08-07
@Shadrindmitry

I think this is the manifestation of limits in the background .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question