Forum >Replies by amurrayf88
userhead amurrayf88
Replies ļ¼ˆ2ļ¼‰
  • You Reply:
    nana.wang wrote: ā†‘
    Fri Mar 27, 2020 1:38 am
    Hi Andy,
    Thank you for your support and contact.
    Have you set the Server and Host first?
    Nana: everything is set as the demo asks. In fact, with the latest update of Android (version 10, security patch March 1, 2020), the BlunoBasicDemo APK doesn't populate the list anymore.
    Could DF Robot update the demo? If this is suppossed to be for newbies, it should be updated accordingly.
  • You Reply:
    This is not an issue, it is intended behaviour because BLE devices can give out location information. You must add the location services permissions, and if you are building against API 23+, you must ask for permissions in runtime.
    You are completely right! I am a super-newbie in Android, and I have many problems asking these permissions in runtime. I have been trying to look for examples for BLE, but most of the code that I find use lower API's. The only one that has worked (populated the list) is this one:
    https://github.com/Jasonchenlijian/FastBle

    However, it is very difficult to understand. Do you know an updated tutorial (most/all don't have in mind this)? Or do you know a simple code to understand how to do it? Android's documentation is very confussing.