Is it possible to disable a button on a Cupcake desktop widget?

When I attempt to use the RemoteViews.setBoolean(myButtonId,
"setEnabled", false) approach, I get an error saying that calling
"setEnabled" is not permitted via RemoteViews.

The current Google Search widget disables the search button until a
user enters text, then the button is disabled.  Is this only allowed
for "special widgets", or is there an approach available to third-
party widgets?

More generally, is there a list somewhere of the allowed / disallowed
calls to widget views via the RemoteViews.set<Type>() approach?  I've
also encountered that "setSelected" and some others are not allowed.

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

Reply via email to