Execute an action in Callback within an AsyncTask

0

I have an application where I need to connect to two (or more) bluetooh devices.

For this I thought of a service. But I believe I will not be able to instantiate the same service more than once.

Another solution was to create an AsyncTask.

My question is how does the process of reading bluetooh asynchronous, can it run in an AsyncTask?

    
asked by anonymous 06.11.2018 / 19:12

0 answers