i want to create a BroadcastReceiver which listens to some event.
Now i also want to write to a screen which is loaded from my mainactivity.
I can't seem to find an example where a BroadcastReceiver is registered and writes, in it's onReceive event, to the screen which is associated with the main activity.