I would like to know when it is smart to use bindService and when to use startService.
For example:
If I use bindService with BIND_AUTO_CREATE, the service will be started and created automatically as is written here: http://developer.android.com/reference/android/content/Context.html#BIND_AUTO_CREATE
When is it smart then to use bindService and when startService? I really don’t understand these two correctly.
You usually use
bindService()if your calling component(Activity) will need to communicate with theServicethat you are starting, through theServiceConnection. If you do not want to communicate with theServiceyou can use juststartService(). You Can see below diffrence between service and bind service.From the docs :
You can read more here : Android Services, Bound Services