I am having problems with my widgets. I am using a Droid 2 phone, and when I open the keyboard, the screen rotates and my widget never calls the onUpdate () function.
In an attempt to debug the problem, I overwrote onReceive () and noticed that after rotating the screen I get an intent action:
com.motorola.blur.home.ACTION_WIDGET_ADDED
After the screen is rotated, TextViews lose their content, so I need to be able to set the text after the rotation. I usually set the text when calling onUpdate ().
Anyone have any idea why this problem? I'm sure I'm doing something wrong ...
Thanks,
-Jona
source share