Before uploads or downloads, I want to know if the speed of data transfer is enough. I know if I have WIFI, but I need to know more. The Phonestatelistener library only reacts to changes, is of no use here. OK, I could download 1 KB and measure the time needed, but is there a better way?