Hi... I am trying to do a simple wifi status check, but it always returns me 0.
My code is the simplest:
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
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: