A
A
alk2018-02-07 09:37:08
Android
alk, 2018-02-07 09:37:08

Why can't the app find bluetooth devices?

The problem is this: there is an application that searches for bluetooth devices and connects to them. On Android 5, everything is fine, but starting with Android 6, the application simply does not see any devices (although the phone itself finds them).
In doing so, I added in accordance with the new API:

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

Who had such a problem? How did you decide?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2018-02-07
@402d

not only add to the manifest. But at the right time, also request and check that it was given.
https://habrahabr.ru/post/278945/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question