With the latest version of Android called Marshmallow , permission from a group of locations is required to run a Bluetooth Low Energy scan . As a result, one of the following permissions is required:
ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION
ACCESS_COARSE_LOCATION
ACCESS_FINE_LOCATION
Any reason we need to enable GPSfor BLEscanning?
GPS
BLE
- BLE , , UUID - (, iBeacon, AltBeacon ..). , , . ACCESS_COARSE_LOCATION - , NetworkProvider. ACCESS_FINE_LOCATION, NetworkProvider, GPS.
NetworkProvider
Bluetooth , .
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-feature android:name="android.hardware.location.gps" />
.
Source: https://habr.com/ru/post/1667114/More articles:The second output should be true, but it shows false - javaif condition in logback - print log messages in two different folders - javaDelete row from database table with Laravel 5.2 - phpСмешанные языки в бэкэнде umbraco - umbracoTSQL to search for items in a different list by groups - outer-joinC ++ - const keyword in methods and overloading - c ++Clojure Keyword Example Security Problem - securityhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1667117/unit-testing-with-generic-repository-in-net-core&usg=ALkJrhiMJugNJDFN9A533Ka6sFTczjA2ggGraphical representation of a GraphQL schema - graphqlHow to add wiredesignz modular extension to codeigniter 3.0 - phpAll Articles