zmarties is right but you can still get the mac address via reflection or Settings.Secure:
String macAddress = android.provider.Settings.Secure.getString(context.getContentResolver(), "bluetooth_address");
More Related Contents:
- Bluetooth Low Energy startScan on Android 6.0 does not find devices
- Location needs to be enabled for Bluetooth Low Energy Scanning on Android 6.0
- Since marshmallow update Bluetooth discovery using BluetoothAdapter.getDefaultAdapter().startDiscovery(); is broken
- Android marshmallow request permission?
- IOException: read failed, socket might closed – Bluetooth on Android 4.3
- Android M – check runtime permission – how to determine if the user checked “Never ask again”?
- SYSTEM_ALERT_WINDOW – How to get this permission automatically on Android 6.0 and targetSdkVersion 23
- Android 6.0 Marshmallow. Cannot write to SD Card
- How can I programmatically open the permission screen for a specific app on Android 6.0 (Marshmallow)?
- ConnectivityManager getNetworkInfo(int) deprecated
- Permission from manifest doesn’t work in Android 6
- How to make Alarm Manager work when Android 6.0 in Doze mode?
- onRequestPermissionsResult not being called in fragment if defined in both fragment and activity
- Disconnect a bluetooth socket in Android
- Google Glass GDK: How to Communicate with Android Device
- Should one create a bond with a Bluetooth LE device
- Programmatically connect to paired Bluetooth device
- How to send file from Android device to other device through Bluetooth by code
- How to detect Bluetooth state change using a broadcast receiver?
- Find all Bluetooth devices (headsets, phones etc) nearby, without forcing the devices in discoverable mode
- Expand/Collapse Lollipop toolbar animation (Telegram app)
- How to move Bluetooth activity into a Service
- Android Marshmallow: Changing permissions at run time crashes app
- How to programmatically pair a bluetooth device on Android
- How to unpair or delete paired bluetooth device programmatically on android?
- How to create Insecure RFCOMM Socket in Android?
- How to keep Bluetooth connection background?
- Get Current Location 0 in marshmallow where below 23 API its give exact current Location using fused Location
- Android Bluetooth Serial/RFCOMM/SPP, How to Change the BAUD RATE?
- Android Bluetooth Example [closed]