Есть ли способ получить доступ к GPS один раз вместо того, чтобы иметь петлитель, который постоянно проверяет наличие обновлений местоположения?
В моем сценарии все, что меня интересует, - это поиск текущих координат, а не непрерывное соединение с спутником GPS. Есть ли у кого-нибудь идеи, как это можно сделать? Заранее спасибо.