Android: How to remove the Wifi Network by using removeNetwork() correctly (Android 5.0 Asus Zenfone ) -


first, i'm using addnetwork() add ssid configuration list. okay(ssid has been added configuration list successfully).

second, i'm using removenetwork() remove configured network. when execute method, acts should. wifi disconnects , ssid doe not appear in list of configured netowrks...

but, when using addnetwork() add same ssid configuration list again. return value(networkid) -1.

the way solve problem restart wifi function.


Comments

Popular posts from this blog

c - Calling a function within a loop -

How i fill combobox items in Radgridview manually using in vb.net -

vb.net - Unbound DataGridView add row with checkbox error -