A
A
Andrey Begin2019-09-05 17:31:52
Java
Andrey Begin, 2019-09-05 17:31:52

Getting location not working on phone?

I'm trying to get the phone's real-time location.
This works fine on the emulator, I get the longitude and latitude and then just find out everything else.
However when run on phone (debugged apk) I get null.
GPS is also turned on in the "Maximum Accuracy" mode (That is, it takes Bluetooth and wifi with it)
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Kazantsev, 2019-09-05
@saintbyte

Well, everything is correct - GPS satellites did not have time to receive

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question