2

Given the UUID used in SDP of the Bluetooth run a discovery query to know the Bluetooth devices who are using the same UUID without connecting with them. I want a solution for Android 2.3.x.

1 Answer 1

1

The fetchUuidsWithSdp() API allows you to see which UUIDs are supported on remote devices. http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#fetchUuidsWithSdp

4
  • I asked the question for Android 2.3.x. These functions are for Android 4.0.x. Aug 16, 2012 at 17:29
  • 1
    Just change the API level in the dropdown on the left hand side. I don't think the Bluetooth APIs have changed much between 2.3.x and 4.2.2 anyway.
    – Eliot
    May 11, 2013 at 1:28
  • Yea use the newest API but keep the target 2.3.x - Some minor things like the theme widgets will not work... but you obviously do not need those.
    – Piotr Kula
    Sep 13, 2013 at 8:40
  • They are available also in Android 2.3.3 ..just hidden. Use reflection to call them Jun 18, 2014 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.