How to find Android Bluetooth version?

28,046

Solution 1

As far as i know (and i did a lot of research) there is no way to find out what the hardware version is of your Android bluetooth device. (4.0, 4.2, 5.0,...)

Some people claim they have an app that can do this, but i never saw a working example. These apps show you a lot of version numbers but not the Bluetooth hardware version.

Some people come up with a trick that shows you the version number of the bluetooth software, but that is not what we want to know.

There are some tricks to get the capabilities of the bluetooth device, but again, that is not what we want to know.

Solution 2

IMHO, with android you can distinguish only presence of Bluetooth or Bluetooth_LE. But I am doubtful about android support on identifying Bluetooth versions (e.g. BT2.0, BT2.1+EDR, BT3.0 etc). The way to programatically identify the BT or BLE presence only could be:

PackageManager pm = getActivity().getPackageManager();
boolean isBT = pm.hasSystemFeature(PackageManager.FEATURE_BLUETOOTH);
boolean isBLE = pm.hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE);

Thereafter, using isBT or isBLE flags, the app flow can be directed.

Share:
28,046
user1187176
Author by

user1187176

Updated on April 24, 2020

Comments

  • user1187176
    user1187176 about 4 years

    I need to programatically find Android Bluetooth version on the phone. Can someone me tips how to do that?

  • Deko
    Deko over 9 years
    Correct me if im wrong, but isnt these systemFeatured checkers for checking if the uses-feature is set to required or not: <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>
  • Ewoks
    Ewoks over 5 years
    it doesn't really help to find out which version of bluetooth phone supports
  • Sinapse
    Sinapse almost 4 years
    This is a very random answer and it is also incorrect given you are making BLE mandatory in that manifest. Did you read the question?
  • user10186832
    user10186832 over 3 years
    <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/> tells the Google Play Store not to show the app to users with devices that do not support bt_le for example.