difference between services and broadcast receivers
<p>im trying to understand what the difference between a service and a broadcast receiver is,
as i see it they can do the same thing.</p>

<p>For example i have an application : App1
that provide a service called ToastHelloWorld which just creates a Toast and stopSelf().
I expose it to other applications using an intent filter with the action name: "com.test.HelloToast"</p>

<p>Now i have another application : App2 
i want to implicit use a service with the action "com.test.HelloToast" so i call 
startService(new Intent("com.test.HelloToast"));</p>

<p>and it works.</p>

<p>Why would i use broadcast receivers when i can do everything with services and dont have the restriction of a 5sec execution limit?.</p>

<p>I know most "system events" is exposed via broadcasts' but couldnt they just aswell be published as Service Intents ? </p>
