Android Question How do I know if the phone has LTE?

grafsoft

Well-Known Member
Licensed User
Longtime User
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?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

tigrot

Well-Known Member
Licensed User
Longtime User
I think you can mesure it and it can change 30 seconds later or even less! I have an APP doing heavy transfer. I have solved using FTP, it works all the times. You start and if in a certain amount of time the transfer is not over you can cancel it. The transfer is asyncronous so you have full control over the process.
Ciao
Mauro
 
Upvote 0
Top