Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/219.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Android中获取远程蓝牙设备的全名?_Android_Bluetooth - Fatal编程技术网

如何在Android中获取远程蓝牙设备的全名?

如何在Android中获取远程蓝牙设备的全名?,android,bluetooth,Android,Bluetooth,我是Android编程的新手。我面临一个问题,我只能通过APIBluetoothDevice.getName()和intent.getStringExtra(BluetoothDevice.EXTRA_name)获取Android远程设备的部分名称,但我需要全名。请告诉我这两个API之间的不同,最重要的是,我如何才能得到完整的名称

我是Android编程的新手。我面临一个问题,我只能通过API
BluetoothDevice.getName()
intent.getStringExtra(BluetoothDevice.EXTRA_name)
获取Android远程设备的部分名称,但我需要全名。请告诉我这两个API之间的不同,最重要的是,我如何才能得到完整的名称