To start my service from an Activiy I use startService(MyService.class). This works great, but in a special case the service should be started differently. I wa
startService(MyService.class)
Step #1: Delete your BroadcastReceiver implementation.
BroadcastReceiver
Step #2: Examine the Intent your service gets in onStartCommand() and look at the action via getAction().
Intent
onStartCommand()
getAction()