how can i determine internet speed in my android application
<p>In my application I want that when i click a button it show me the exact internet speed. 
I had read all answer about this question which has already been asked in this links <a href="https://stackoverflow.com/questions/16334020/determining-internet-speed-in-android">determining internet speed in android</a> , <a href="https://stackoverflow.com/questions/11796334/calculating-internet-speed-in-android">Calculating Internet Speed in android</a> , <a href="https://stackoverflow.com/questions/27000027/internet-speed-in-android-programming">Internet Speed in android programming</a> and so on. 
But I didn't found my answer exactly. I used this : </p>

<blockquote>
  <p>WifiInfo.getLinkSpeed()</p>
</blockquote>

<p>but it show the maximum speed. and also i use the codes of this:  </p>

<blockquote>
  <p>TrafficStats </p>
</blockquote>

<p>but it didn't worked for me. i need to show my network speed (i.e 100 kbps ). how can i do this?
Please help me.</p>