Android Open Source - bluetooth Client Link

From Project

Back to project page bluetooth.


The source code is released under:

MIT License

If you think the Android project bluetooth listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.mauriciotogneri.bluetooth.connection.client;
/*from w  w w .jav  a 2  s.  c  om*/
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import com.mauriciotogneri.bluetooth.connection.kernel.ConnectionThread;

class ClientLink extends ConnectionThread
  private final ClientEvent clientEvent;
  public ClientLink(BluetoothSocket socket, ClientEvent clientEvent) throws IOException
    this.clientEvent = clientEvent;
  protected void onReceive(BluetoothDevice device, byte[] message)
  protected void onDisconnect(BluetoothDevice device)

Java Source Code List