How to keep Bluetooth connection background?
Yes, I found a working solution for running Bluetooth background in Android. Below is the code I have used in my android app. public class BluetoothServices extends Service { private BluetoothAdapter mBluetoothAdapter; public static final String B_DEVICE = “MY DEVICE”; public static final String B_UUID = “00001101-0000-1000-8000-00805f9b34fb”; // 00000000-0000-1000-8000-00805f9b34fb public static final int STATE_NONE = … Read more