Activity which downloads data in background with service and doesn't get destroyed on hitting back button
<p>I need to develop an application with downloads the data at the background and update about the progress in the front.</p>

<p>I guess this can be achieved using services and activity and passing data in between the. But, what I need to do is even if I hit back button and then start the activity again. It should check if the service is running or not. If service is not running it should start one else it should display the data from running service.</p>

<p>Something like music player where music is played by a service at a background and activity displays the information. Even on browsing through other activities of the application or hitting back, state of the music player is maintained.</p>

<p>Cheers,
Prateek</p>
