It could be that the unBindService
is not called when orientation change.
It would be good to bind service in onStart()
and unbind in onStop()
. So that when the Activity
is not visible , You don't really requited the service connection.
This will make sure the service is unbind when not required.
Check this http://developer.android.com/guide/components/bound-services.html