How to find that how much time phone took to download a file from internet
<p>I want to write code that will give me the time it took to download a file(speciallly an app)
from internet.
More specifically I want to know the downloading speed of last downloaded app.</p>

<p>So I thouhgt to find the time for downloading and then divide the file size by time ,I will get the speed.</p>

<p>can anyone help me in finding the time it took to download a file from internet.</p>
