[android-developers] Widget not calling onUpdate when screen orientation changes

2012-05-11 Thread Opack
Hi to all ! I have a widget which becomes not clickable when screen orientation changes. After a lot of research on the net, I see that this problem occurs when the submitted RemoteViews is partially updated. Problem is, I always fully update my RemoteViews. In fact, I have only 1 call to AppW

[android-developers] Re: Screen rotation with App Widgets loses onClick connection

2012-05-11 Thread Opack
Hi ! I seem to have the same problem but the solution I've found everywhere on the web and in this thread does not work for me :( I posted my onUpdate method below, in which I perform a full initialisation of a new RemoteViews object. Then I pass it to the AppWidgetManager. This kind of operat

[android-developers] Re: PreferenceActivity Refresh Problem

2012-09-19 Thread Opack
I was struggling on the same problem, and the finish/restart activity solution was not satisfying because I messes the "back button history" : when the user uses back, then the "previous activity" to be restored is not the activity that opened the preferences in the first place, but the prefere