Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

解決wifi on/off不斷切換的問題, 加入等待機制

如果你寫了個Android APK
會造成setting Wifi ON/OF不斷跳動
可能wifi enable的問題


可以試試看, 加入回傳值判斷是否設定成功
Example:

或是加入等待wifi-enable完成的機制
Example: ( http://www.tuicool.com/articles/FveQBn )

發表迴響