Как проверить, включена ли служба определения местоположения для моего приложения?
У меня есть 2 раскадровки, и я хочу проверить службу определения местоположения. Если для моего приложения включена служба определения местоположения, я хочу запустить карту раскадровки с местоположением. В противном случае я хочу запустить другую раскадровку. Как я могу сделать программно?