binding remote service from broadcastreciever

view story

http://stackoverflow.com – I have a BroadcastReceiver named StartService which start when the phone boots which in turn starts a service but when i am going to the service from this BroadcastReceiver I get android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to bind to services exception my code is below: import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.IBinder; import android.util.Log; public class StartService extends B (HowTos)