Exemplo n.º 1
0
 /**
  * Constructor. Prepares a new Bluetooth_connect session.
  *
  * @param context The UI Activity Context
  */
 public BluetoothService(Context context) {
   mAdapter = BTControl.getInstance(context).getAdapter();
   D = BTControl.getInstance(context).IsBluetoothEnabled();
   BTControl.getInstance(context).get_address();
   mState = STATE_NONE;
   mHandler = BTMessageHandler.getInstance(context);
 }