Skip to content

Instantly share code, notes, and snippets.

@sidishere
Created December 24, 2019 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sidishere/3000baf2b55d66bac0ab6265b52eab9b to your computer and use it in GitHub Desktop.
Save sidishere/3000baf2b55d66bac0ab6265b52eab9b to your computer and use it in GitHub Desktop.
BluetoothAdapter myBluetooth = null;
BluetoothSocket btSocket = null;
Button onButton, offButton, disconnectButton;
private ProgressDialog progress;
String address=null;
static final UUID myUUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
private boolean isBtConnected = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment