Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Android nRF-UART program does not find any bluetooth devices at all...

I downloaded the Android App from https://github.com/NordicPlayground/Android-nRF-UART, and when I run it on my phone it does not see ANY bluetooth devices.  However, when I download the app from the android play store, it works perfectly.

Anyone have any idea what needs to be changed on the github repo to make it work like the one in the play store?

Thanks!

  • I guess the app on Google play is older and targets older soA, so runtime permissions are not required (compatibility mode). After installing yours from GitHub, go to Android settings, Apps, nRF uart, Permissions and enable location. Then it will work. 

    This app is fairly old one, now we recommend nRF Blinky as a starting point. This one asks for the location permission on runtime.

    BR,

    Aleksander

  • I was able to get it working by adding in the below code to the android manifest...it then had a location slider in the apps area in settings ...before that it never had the location slider available.

    <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.bluetooth_le"
    android:required="true"/>
Related