With the Update for Android 6.0 the access to the mac addresses are removed 
from android.

To provide users with greater data protection, starting in this release, 
Android removes programmatic access to the device’s local hardware 
identifier for apps using the Wi-Fi and Bluetooth APIs.


Searching the internet I found a way getting the address for the bluetooth 
device using this method:


String macAddress = 
android.provider.Settings.Secure.getString(context.getContentResolver(), 
"bluetooth_address");



My question now is: Can my app getting banned from PlayStore for using 
this???

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ff65854b-0d3b-4b72-805d-91c279def449%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to