Connect to Wifi [without Internet] with a high priority?
问题 I have a problem. I develop a android app, which should also connect to a wifi [ without internet , just to controll a robot, webinterface: 10.10.0.1]. MY PROBLEM : If I connect to the robot wifi, Android prevents the connection and connect to my default home wlan. What can I change to connect to robot wifi without problems? My connection function: public static void connectToWifi(String ssid, String pass){ WifiManager myWifiManager = (WifiManager) getApplicationContext().getSystemService