We have a Service that takes care of several things in one of our actions. We are pretty new to Android and are wondering what is the ideal moment to bind to this service. We need only a service for half of the interactions that are possible through activity. Therefore, we must solve one of two possibilities:
What will be the "android" here? Is a running service a lot of overhead or should it be run only when necessary? The service itself is very light.
bindService() onCreate(), , , unbindService() onDestroy(). - bindService() - . API. bindService(), , ServiceConnection.onServiceConnected(), , bindService() , , onCreate(), .