Cableguy Expert Licensed User Longtime User Oct 26, 2014 #1 Hi... I am trying to do a simple wifi status check, but it always returns me 0. My code is the simplest: B4X: dim p as phone dim wifi_state as int wifi_state = p.GetSettings ("wifi_on") I connect my REAL device through B4A Bridge by WIFI... so it should read 1, right? Also testing p.GetDataState gives me 0.. on two different phones Last edited: Oct 26, 2014
Hi... I am trying to do a simple wifi status check, but it always returns me 0. My code is the simplest: B4X: dim p as phone dim wifi_state as int wifi_state = p.GetSettings ("wifi_on") I connect my REAL device through B4A Bridge by WIFI... so it should read 1, right? Also testing p.GetDataState gives me 0.. on two different phones
HotShoe Well-Known Member Licensed User Longtime User Oct 26, 2014 #2 You cna use this library : http://www.b4x.com/android/forum/threads/simple-wifi-library.38601/#content --- Jem Upvote 0
You cna use this library : http://www.b4x.com/android/forum/threads/simple-wifi-library.38601/#content --- Jem
Cableguy Expert Licensed User Longtime User Oct 26, 2014 #3 LoL... just comming back from it, I find you post in my question... and I left a question in your post.... Upvote 0
LoL... just comming back from it, I find you post in my question... and I left a question in your post....