Привет, это может звучать как глупый вопрос. Но я не смог найти ответы на это, поэтому разместил здесь.
Я создаю внутреннее приложение, которое постоянно сканирует ключи Bluetooth, расположенные в разных местах в месте, таком как торговый центр или библиотека. Когда я двигаюсь в торговом центре с телефоном Android в руке, я должен иметь возможность получить ближайший ключ, который Я могу подключиться к (Stupid Idea, но я хочу сделать что-то еще с этим). Для этого я должен иметь возможность непрерывно сканировать устройства Bluetooth.
Пожалуйста, кто-нибудь скажет мне, как я могу периодически проверять наличие свободных Bluetooth-устройств.