Progress dialog and start a Service containing startForeground
<p>In my app I would start a service to stream music from internet: to do this I launch a service that streams and play music and contains startForeground, because this solves some compatibility problem between devices... while the user waits for the Service starts to play, I would show a progress dialog but I don't know why the dialog is shown only when the service has finished its onStart method :( I read that startService is asynch.. I'm not able to find another solution, can you help me?</p>

<p>Thanks in advance,</p>

<p>Regards</p>
