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

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -