Android 6.0 Bluetooth fails to scan the device or flash back. Solution

Android 6.0 Bluetooth fails to scan the device or flash back. Solution

preface:

At present, the company to be is a smart home company. Recently, the customer has feedback that why my mobile phone Bluetooth is also turned on and the device Bluetooth is also turned on. Why can't I scan it? However, after several investigations, the testers of our company haven't found that the device described by the customer can't be scanned, but the problem mentioned by the customer does exist again. After several twists and turns, I found the reason. It turns out that Android 6.0 phones on the market need to add two permissions, which has been explained on the Android official website,

Directly above

The specific authority is clearly stated on the official website

terms of settlement

When Android 6.0 devices access external hardware devices through Bluetooth and Wi Fi scanning, your application needs to add:

ACCESS_ FINE_ LOCATION

perhaps

ACCESS_ COARSE_ LOCATION

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>