I thought I had achieved 100% success in my first widget, but still have something that is not working properly:
When the widget is on the homescreen and I access some other app, to finalize the app and return to the homescreen, sometimes the widget is not properly filled with data and the image. I'm attaching the file widget: tempoService.bas. I ask please, if anyone can help me I would greatly appreciate it.
Thanks Erel,
"When the widget is on the homescreen and I access some other app, to finalize the app and return to the homescreen, sometimes the widget is not properly filled with data and the image."
The data fields and / or image of forescast disappear. So I need to click again on the location of the image so that everything is reloaded.
Sorry my bad english (via translate google)
Set #CanInstallToExternalSTorage to false. Widgets should be installed on the internal storeage.
I wasn't able to reproduce this issue, however I assume that at some point the process is killed and then when it is recreated it takes time until the data is downloaded again.
The solution is to save all the data in a file and load it in Service_Create.
Hi Erel, discovered by chance the main application that causes the problem in my widget. It's Facebook. When leaving the facebook widget is without visible data even after that change you suggested.