android - How to connect to specific Wifi Access Point without disabling others? -
i have application needs connect specific wifi access point "network a" activity, switch other unknown user access point general internet access.
currently, can achieve enabling network , disabling rest:
wifimanager.enablenetwork(network_a, true);
but have externally keep track of other networks enabled , re-enable them when activity complete.
is there way connect specific network without disabling rest?
one option remove network after work done using removenetwork
android connect connected network if still around.
Comments
Post a Comment