Android Context.bindService always returns false and ServiceConnection object is never triggered

Solution 1:

So I finally figured it out. It turns out that TabSpec cannot bind to activities

Using getApplicationContext().bindService instead of just bindService on your activity solves the problem as it is using the higher level application context.

Hope this helps someone!

Solution 2:

I now this is old, but I had a slightly different problem. I refactored the package of my project. So the name changed of the files, but Eclipse did not update the manifest file. So, I manually fixed the manifest file and changed the name of the package there as well.