This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Need advise on how to modify NRF-TOOLBOX for Android

Hi all,

I am trying to develop an Android app to connect to a nrf52832 running the ble_app_uart example. Previously I was using the Android-nRF-UART codes as a starting point and that was working fine. But I have read on the forum that it is better to use the NRF-TOOLBOX example which is more updated. 

I have downloaded the sourcecodes for Android0nRF-Toolbox, I can compile and run it successful on my Android device. However, there is too much other things inside the app. I want to remove everything except keeping the UART example and start modifying from there to develop my app. Is there a stripped down version of nRF-Toolbox  with only the UART example? Or can someone advise me on how to go about  modifying it. Right now, I don't even know where is the main activity and where is the codes that displays the main screen with all the icons. I presume I need to start modifying the codes from that screen.

I hope someone can help. Thanks a lot!

Parents
  • Hi 

    You should start out with the Blinky application for Android instead. 

    This is a stripped down example that allows you to connect to a device and send receive data over the Blinky service. 

    It will require some modifications to run the UART service instead, but these changes should be trivial compared to using the Toolbox as a starting point. Essentially the only differences between the Blinky and UART services is that the later uses variable length characteristics, while the former uses 1 byte characteristics. 

    Best regards
    Torbjørn

Reply
  • Hi 

    You should start out with the Blinky application for Android instead. 

    This is a stripped down example that allows you to connect to a device and send receive data over the Blinky service. 

    It will require some modifications to run the UART service instead, but these changes should be trivial compared to using the Toolbox as a starting point. Essentially the only differences between the Blinky and UART services is that the later uses variable length characteristics, while the former uses 1 byte characteristics. 

    Best regards
    Torbjørn

Children
Related