In my app I need to check the connection speed of both WiFi and Mobile Data and then compare it, then switch to which ever network has the highest speed.
- So how can I get the speed or best signal strength of wifi and mobile data?
- how can I switch one off and other on programatically.
Please help me out. A sample would be helpful.