title: Android BLE send and recieve data in background
body: <p>I am connected to an android BLE device and I am able to read and write data. In my scenario I have to keep reading data from the device and send response to the sent request. I was implementing on the main thread and after a while when it goes to Pause state the process would end. 
  Do I have to use a Service class to read and write? </p>