I am trying to get mobile blue-tooth mac id programmatically.i saw some link and i got this coce.
String macAddress = android.provider.Settings.Secure.getString(context.getContentResolver(), "bluetooth_address");
upto nougat this code is working fine.But i am getting null in OREO(8.0.0) and i gave permission in manifest file.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
So is there a way to get the bluetooth mac address in OREO?