On Fri, Apr 24, 2009 at 12:36 PM, Arve Bersvendsen <[email protected]> wrote: > On Fri, 24 Apr 2009 12:26:29 +0200, <[email protected]> wrote: > >> Hello guys. >> >> What would you think of an API for empowering the Widget to "ask for >> mode change"? >> Something like: >> widget.ModeChangeRequest(<mode name>); >> >> Of course the WUA can ignore the request. > > In that case, it is not a request, so widget.changeMode(<mode name>) would be > more appropriate, where a user agent MAY choose to not honor the request. >
If it doesn't, it would throw an exception. Right? > It should be noted, however, that this is problematic on device for a number > of reasons, given that floating or mini widgets would typically exist on some > "desktop" or in an application grid, so these mode changes are problematic > from a UX-view (and may as well have a security implication or two) > Agreed. -- Marcos Caceres http://datadriven.com.au
