I am working with an App which contains web service things.
In that I need to know the status when the Internet speed is low. How to find the internet speed level in Android?
For example, Consider if I am using 2Mbps connection in my cell phone and when it slows to 50Kbps I need to notice that situation by making a Toast or Alert.
Thanks.
If you are connected to
WiFiyou can find the speed of the connection usingWifiManager:and then from the
WifiInfoyou can get the current speed :If you are on 3G, I don’t think there is a standard way of finding out, maybe you can assume automatically that 3G is slow.