Typically you start a service like this
Intent i = new Intent(context,MessageService.class);
context.startService(i);
but what I want to do is send an intent that was received in a BroadcastReceiver to a service. If I start a service the way shown above that wont get the intent from the BroadcastReceiver correct?
Basically I just want my BroadcastReceiver to start my service and then let the service itself handle what kind of intent was received
is this possible?
Send Intent from BroadcastReceiver to Service as:
Reciver Intent in
onStartCommandmethod of service:for how we communicate between Service and BroadcastReceiver see this post