Android bluetooth service name
<p>Is there any way that I can get the service name of the BT discovered device. My bluetooth discovery logis is as follows</p>

<pre><code> startdiscovery()
 {

  boolean status1 = mBluetoothAdapter.startDiscovery();

 }

 BroadcastReceiver mReceiver = new BroadcastReceiver() 
  {
  if (BluetoothDevice.ACTION_FOUND.equals(action))
        {           


 if(intent.hasExtra(BluetoothDevice.EXTRA_DEVICE))
            {
            BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);      

                            }
                     }
  }
</code></pre>

<p>Here i know only the "SERVICE NAME" of the discovered device in STRING FORMAT.</p>

<p>bluetoothclass.hasService(int) - This API takes predefined SERVICE NAMES as an input parameter and return TRUE/FALSE. I can use this API as i know only the SERVICE NAME.</p>
