Make sure you're sending all PendingIntents across with each
RemoteViews update, even if they've already been set.  When the
orientation changes, the layout is inflated and only the most-recently
cached RemoteViews is applied over it.

j


On Wed, Jul 8, 2009 at 1:49 AM, sunita<[email protected]> wrote:
>
> I have a widget , thats working just fine in a particular orientation,
> but the moment i change the orientation to landscape/portrait, the
> widget is not able to launch. I have one layout and one layout-land
> folder in res directory.The problem is that the widget created in
> landscape mode is not opening in portrait mode and vice-versa.
>
> Thanks for the answer
> >
>



-- 
Jeff Sharkey
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to