Android Question ICOSWorldForecast Unknown member: iswificonnected

Colin Evans

Active Member
Licensed User
Longtime User
Hi trying to run the Icosweather example but keep getting the following error message

B4A version: 5.80
Parsing code. (0.01s)
Compiling code. Error
Error compiling program.
Error description: Unknown member: iswificonnected
Occurred on line: 41
If a.isWiFiConnected = True Then
Word: iswificonnected
 

DonManfred

Expert
Licensed User
Longtime User
What is "a"?
 
Upvote 0

Colin Evans

Active Member
Licensed User
Longtime User
I assume its

Dim a As ICOSWorldForecast

as thats the only reference i can see

It's from the example weather app B4A and I haven't changed anything other than try it with or without the API key but I still get the same error
 
Upvote 0

Colin Evans

Active Member
Licensed User
Longtime User
I updated the Dim a As ICOSWorldForecast to Dim a As ICOSWorldForecastFree and changed the relevant variables it reported as errors. the only ones left to cahnge which I can't seem to find are;

Unknown member: cityname

which relates to:
Main.a.CityName=Main.mGetList

and Unknown member: getlist

which relate to;
l=a.GetList(mGetList)
 
Upvote 0
Top