This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NordicSemiconductor /Android-BLE-Library

Is there any good tutorial about the Android-BLE-Library Nordic library ?

I have only found the examples, but you need to dig in the code to learn how to use.

  • I don't want to send you down a rabbit hole but I found the following lab, from the Bluetooth SIG, useful in understanding BLE development on Android.

    https://www.bluetooth.com/blog/bluetooth-developer-starter-kit-v4/

    "BDSK v4.0. two labs take you through the steps required to develop a corresponding application for Android using Java or for iOS using Swift"

    Unfortunately the labs are more Arduino oriented but I was able to adapt them to a nrf52DK.

    Cheers,

    Martin

  • Hi

    There are no official tutorials or guides for the Android-BLE-Library unfortunately. 

    For the older version of the BLE library we had a usage description here which might still prove helpful, but there are some small inconsistencies there compared to the latest version: 
    onDeviceDisconnected was replaced with onServicesValidated, and a new param was added to the writeCharacteristic method, so keep this in mind when reading through it. 

    For the latest version of the library the only 'documentation' per se is the samples, including Android-BLE-Blinky and the included examples in the library repository. 

    Best regards
    Torbjørn

  • Martin  and Torbjørn, thank for your responses.

    We are using the Blinky Android App to get the use details, but would be really  nice to read a tutorial about the library use. Mainly about the managers. 

    This usage indication was very nice!

    Do Android-BLE-Library a wrapper to be used in Flutter? 

    Best regards, Aleks

     

     ps:: I just found the rabbit, but still need to dig more !-D  

      

  • Hi Aleks

    We don't provide BLE libraries for Flutter, no. 

    You would have to use a third party library instead. I have played around a bit with Flutter myself, and ended up using flutter_blue for Bluetooth, but I don't know if this is the best option available. 

    Best regards
    Torbjørn

  • Hi Torbjørn,

       We are facing the development of all the big nodes in our project, proving that it is really factible! 

       In future, i think we will really use the Nordic library.

       Thank you

     

       

      

Related