Skip to content Skip to sidebar Skip to footer

How To Get Device Name Defined By User With Android 4.4

I have an apk which get the device name defined by the user. For that I use this code (see at How do you get the user defined “Device Name” in android?): BluetoothAdapter mBlu

Solution 1:

Try to get it from Settings.Secure:

Settings.Secure.getString(getContentResolver(), "bluetooth_name");

Post a Comment for "How To Get Device Name Defined By User With Android 4.4"