Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43757

QBluetoothLocalDevice createBond / requestParing should work for API 15+

XMLWordPrintable

    • Android

      The createBond call for Android is listed as a public call in API 19+, but is actually supported as a hidden public call in API 15+ (and maybe earlier). The code in qbluetoothlocaldevice_android.cpp in requestPairing

      // BluetoothDevice::createBond() requires Android API 19
      if (QtAndroidPrivate::androidSdkVersion() < 19 || !d_ptr->adapter()) {

      should be

      // BluetoothDevice::createBond() requires Android API 15
      if (QtAndroidPrivate::androidSdkVersion() < 15 || !d_ptr->adapter()) {

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ablasche Alex Blasche
            najay george najarian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes