Set a progressBar while downloading data from server
<p>I have an application in which when user is logged-in, will download some data from the server and store them in the local database.</p>

<p>The problem is that I would like to show a progress bar during the downloading because it takes long time and the application seems to be block even if something hapens and the user will not see it.</p>

<p>Also, how to make this progressbar, £I have read some exemples with a new thread (asynchronus tasks but the problem is that I don't know how to use them.</p>

<p>Thank you for your help.</p>
