Here I have another alternative as an answer to this question.
First add the following lines to the manifest file.
<uses-feature android:name="android.hardware.BLUETOOTH" android:required="false"/>
Now that you want to check Bluetooth support, use the following code.
boolean isBluetoothSupported = getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH);
Hari Babu Mandala Feb 11 '14 at 6:58 2014-02-11 06:58
source share