i want to know how to get the name of the connected bluetooth device in android here is the code
NetworkInfo bluetooth = connectivityManager .getNetworkInfo(ConnectivityManager.TYPE_BLUETOOTH);
if(bluetooth.isConnected())
{
Toast.makeText(myprofile3Context,"bluetooth is connected", Toast.LENGTH_SHORT).show();
}
here i check if bluetooth device is connected or not. if bluetooth is connected i want know how to get the name of connected device.