Answer the question
In order to leave comments, you need to log in
What is the difference between intentservice and service in Android?
There was a need to write an android application, but not a simple one, but a "golden one" .... The extension must have some kind of backgrand service that will work regardless of whether the user has closed the application or the application is active. Among other things, the service will have to have a permanent bluetooth connection with a certain device and exchange data with it. But just requests for data or sending data will be carried out by other application activations ...
Since I'm a teapot in development for android, I'm trying to figure out how to implement such an application ... or find an example of something similar, I don't think that anyone has done this .
Answer the question
In order to leave comments, you need to log in
I answer the question:
What is the difference between intentservice and service in Android?The main difference between the two is that a normal service executes commands on the main thread, while an intentservice (which inherits from a service) executes commands on a separate thread, thus giving the ability to make network requests, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question