How to connect to local network first instead of internet in C# Xamarin Android app?
问题 I have a Xamarin Android app. It connects to a “No Internet based Wifi router” for some IOT devices. But it also needs to use mobile’s cellular data for storing some information on Dropbox. Now this is working as follows: I can turn on/off Wifi connection programmatically. I cannot turn on/off Cellular data (since Android L). Its not allowed on non rooted devices. When my phone is connected to this local Wifi router and Cellular Data is also ON, the way Android works in default, it uses the