Sending broadcast from service while binded
<p>Ok so I have a simple Android app that I want it to go through all of my pictures and set a random one to the background of an activity (linear layout). I have a service that give a url when a certain function (getUrl()) is called from the binded service class.</p>

<p>I would now like to create a loop within the service (my idea open to better ones) and every n seconds broadcast a message with the new url for the photo. Then I want to use a listener inside the activity to receive the message from the broadcast receiver and change the background image.</p>

<p>I am having some real trouble trying to figure out how to broadcast from within the impl innerclass of the service. Do I just have to use a synchronous service or something? </p>
