Android Open Source - GlassToPhoneBluetooth Server Bluetooth Connection

From Project

Back to project page GlassToPhoneBluetooth.


The source code is released under:

MIT License

If you think the Android project GlassToPhoneBluetooth 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 ktlab.lib.connection.bluetooth;
//ww  w .j a va 2
import java.nio.ByteOrder;

import ktlab.lib.connection.ConnectionCallback;
import android.os.Message;

public class ServerBluetoothConnection extends BluetoothConnection {

    public ServerBluetoothConnection(ConnectionCallback cb, boolean canQueueing) {
        super(cb, canQueueing);

    public ServerBluetoothConnection(ConnectionCallback cb, boolean canQueueing, ByteOrder order) {
        super(cb, canQueueing, order);

    public void startConnection() {
        Message msg = obtainMessage(EVENT_CONNECT_COMPLETE);
        mConnectionThread = new ServerBluetoothConnectionThread(msg);

Java Source Code List