would like to display the following widget in an Android device using a webview.
This is the right HTML code to display this same widget on a PC with Windows.
This HTML code is partially generated by B4A.
With Android, however, it does not work!
Is there a chance to do it?
Thanks for the attention
This is the right HTML code to display this same widget on a PC with Windows.
This HTML code is partially generated by B4A.
B4X:
<html>
<body>
<div id="openweathermap-widget-15"></div>
<script>window.myWidgetParam ? window.myWidgetParam : window.myWidgetParam = []; window.myWidgetParam.push({id: 15,cityid: '3177700',appid: 'xxxxxxxxxxxxxxxxxxx',units: 'metric',containerid: 'openweathermap-widget-15', }); (function() {var script = document.createElement('script');script.async = true;script.charset = "utf-8";script.src = "//openweathermap.org/themes/openweathermap/assets/vendor/owm/js/weather-widget-generator.js";var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(script, s); })();</script>
<body>
</html>
With Android, however, it does not work!
Is there a chance to do it?
Thanks for the attention