title: How to implement fix Bluetooth Device in Android
body: <p>I want to write a Bluetooth app without any discovery/scanning.
  For that I want to hardcode the server device, which the client needs to connect in the code.</p>
  
  <p>If I use this constructor:</p>
  
  <p><code>public ConnectThread(BluetoothDevice device) {</code></p>
  
  <p>How do I have to implement the device? With a variable of the MAC Address?</p>
  
  <p>If I try something like this:</p>
  
  <p><code>device = new BluetoothDevice("XX:XX:XX:XX:XX:XX");</code></p>
  
  <p>Eclipse says: "<code>constructor not visible</code>"</p>