Can an application programaticallyrequest that a particular WIFI network be connected to?
How can one programaticall开发者_如何学JAVAy set an app to connect to a particular WIFI network? Thanks That is disconnect if its currently connected to another wifi and then connected to a wifi name contained say in a shared preferences. Thanks
use disableNetwork() method of WifiManager class.
thanks.
精彩评论