I\'ve been trying to bind a service that was started on boot from an activity. The code for starting on boot was mostly taken from the instant messenger.
This is the
Also, when I start the service from the activity it works as expected (ServiceConnection::onServiceConnected is called).
startService()
does not involve a ServiceConnection
object.
Get rid of both the android:process="android.process.lifestylepp"
lines from your manifest. That may be the source of your difficulty, and more importantly it is very unlikely you really need two processes and all the overhead that requires.