My Application uses a service that is started by a BOOT_COMPLETE BroadcastReceiver, in run i\'m getting an error
my code:
public class projet extends Br
If you know that the Service is running you can aquire its Binder with BroadcastReceiver.peekService(Context, Intent) method (See peekService docs).
Service
Binder
BroadcastReceiver.peekService(Context, Intent)
But, as it is already said in the other answers, it is not allowed to bind a Service from within a BroadcastReceiver.
BroadcastReceiver