I've a application where a service is running in background and when a Serial port is connected this service will tell the activity that serial port is connected. Now ,If service is inactive or it is killed by Android for space allocation and some data comes from UART , who will serve this data?
Please answer urgently. Thank you.