Hello All
Here we have an simple example on how you use your desktop OS (in this example Windows) and public internet IP address in conjunction with OpenWeather API, this is just a simple example and can obviously be changed and updated by yourselves. The code in B4XMainPage is also used in B4A and B4i examples, I've added comments where feasible to do so. The 'YourLocation' module is platform specific and should be simple enough for any new B4X developers to follow.
CLICK HERE to register for FREE at OpenWeather to use their weather API.
PLEASE NOTE: As the weather forecast in this particular app is based on your public internet IP address, the weather forecast could be a few miles away (1.4 miles in my case), that's close enough
www.b4x.com
www.b4x.com
The zip file in the link below contains the OpenWeather B4XPages project for B4A, B4i and also B4j. They all use the same layout file and designer script.
>>> CLICK HERE to download the B4XPages source code <<<
Libraries needed:
Desktop screenshot:
Enjoy...
Here we have an simple example on how you use your desktop OS (in this example Windows) and public internet IP address in conjunction with OpenWeather API, this is just a simple example and can obviously be changed and updated by yourselves. The code in B4XMainPage is also used in B4A and B4i examples, I've added comments where feasible to do so. The 'YourLocation' module is platform specific and should be simple enough for any new B4X developers to follow.
CLICK HERE to register for FREE at OpenWeather to use their weather API.
PLEASE NOTE: As the weather forecast in this particular app is based on your public internet IP address, the weather forecast could be a few miles away (1.4 miles in my case), that's close enough
? [B4X] [XUI] [B4XPages] Using B4A GPS to create a BASIC weather app - Newer developers
Hello All Here we have an simple example on how you use your Android device GPS in conjunction with OpenWeather API, this is just a simple example and can obviously be changed and updated by yourselves. The code in B4XMainPage is also used in B4i and B4J examples, I've added comments where...
? [B4X] [XUI] [B4XPages] Using B4i Location to create a BASIC weather app - Newer developers
Hello All Here we have an simple example on how you use your iOS device Location in conjunction with OpenWeather API, this is just a simple example and can obviously be changed and updated by yourselves. The code in B4XMainPage is also used in B4A and B4J examples, I've added comments where...
The zip file in the link below contains the OpenWeather B4XPages project for B4A, B4i and also B4j. They all use the same layout file and designer script.
>>> CLICK HERE to download the B4XPages source code <<<
Libraries needed:
Desktop screenshot:
Enjoy...
Last edited: