Service that broadcasts different message types
<p>I want to make a service that I can register to. The service will broadcast messages of different "types" and each application can register itself to recieve messages of different type.</p>

<p><strong>For example:</strong></p>

<p>I want to write a servive that reads the twitter messages of some user and broadcasts to the systems the tags. 
Then a consumer can register to recieve only messages of tag "foo", and recieve the tweet message.
Another consumer can register to recieve only messages of tag "bar", and recieve the tweet message.</p>

<p>Lets assume I know how to build a service. My first idea is to just broadcast a something, and then  filtering it in the apps. But I am not happy about this solution. I know there are some android services that work similar to what I want, but I found no reference on the web on how to implement this.</p>

<hr>

<p>Some RTFM I have done is:</p>

<ul>
<li><a href="http://groups.google.com/group/android-developers/browse_thread/thread/e1863d2822b22a33/90873ef925cd2aad" rel="nofollow">http://groups.google.com/group/android-developers/browse_thread/thread/e1863d2822b22a33/90873ef925cd2aad</a></li>
<li><a href="http://www.vogella.de/articles/AndroidServices/article.html" rel="nofollow">http://www.vogella.de/articles/AndroidServices/article.html</a></li>
<li><a href="http://stackoverflow.com/questions/3998650/what-is-the-simplest-way-to-send-message-from-local-service-to-activity">What is the simplest way to send message from local service to activity</a></li>
<li><a href="http://stackoverflow.com/questions/2463175/how-to-have-android-service-communicate-with-activity">How to have Android Service communicate with Activity</a> -> not good for me, as this question is about a single process, and I need the service talking to several different processes </li>
</ul>

<p>The main problem, is that most of the docs on the internet are about me calling the service, and not the service calling me.</p>
