DFRobot / BlunoBasicDemo

The basic demo for bluno
GNU General Public License v3.0
166 stars 233 forks source link

Android app not work when set targetSdkVersion 23 #11

Open wjhtinger opened 7 years ago

wjhtinger commented 7 years ago

Just the Bluetooth lib not work rightly, cant scan successful.

bubblepipe commented 7 years ago

it also does not work when targetSdkVersion = 25

yurik94 commented 7 years ago

You have to add this permission to the manifest:

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

yurik94 commented 7 years ago

Working pretty smoothly image

remember also to switch on the location permission or implement an enable request on app startup (Marshmellow) 😃

pseres commented 5 years ago

This pull request resolved the scanning issue for me: https://github.com/DFRobot/BlunoBasicDemo/pull/20