Android Question programmatically launching bluetooth settings

Discussion in 'Android Questions' started by DT1111, Mar 9, 2015.

  1. DT1111

    DT1111 Member Licensed User

    Sorry if the subject is ambiguous.

    I have used apps that connect via Bluetooth and whenever I click on the "Connect" button and if the Bluetooth in settings has not been turned on, the app automatically brings me to the Android settings in order to turn on BT and then lists all the paired BT connections.

    How do I code that in B4A?

  2. Erel

    Erel Administrator Staff Member Licensed User

    You can use this code:
    Dim i As Intent
    You can also enable the Bluetooth yourself with BluetoothAdmin.
    Peter Simpson and DT1111 like this.
  3. Peter Simpson

    Peter Simpson Expert Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice