public void changeProxySettings(BA ba, String host, int port) {
try { WifiProxyChanger.changeWifiStaticProxySettings(host, port, ba.context);
} catch (ClassNotFoundException | NoSuchMethodException | InstantiationException
| InvocationTargetException | NoSuchFieldException | IllegalAccessException |
NullWifiConfigurationException | ApiNotSupportedException e) {
e.printStackTrace();
}
}