Android bluetooth friendly name
How can i retrieve the device name (not friendly name) of the BT di开发者_JS百科scovered device using Android API's?
After the socket.connect
and socket.accept
is been done.. ie BT connection established..
You will be having the socket.. Try this..
socket.getRemoteDevice().getName();
socket.getRemoteDevice().getAddress();
from this you can get the name of the remote device which you are connected with.
精彩评论