title: detect slow internet connection in android
body: <p>I have developed Android application and it is working fine when it using WiFi.
  It also works when there is proper cellular network.
  But the problem is when the signal is weak (still active connection) then there is a problem.</p>
  
  <p>I have used a loader till the data is being loaded on Activity.
  Now how to determine the slow internet connection because i have to give some toast information to the user that internet connectivity is slow.
  Can anyone help on this.?</p>