Widget on N900 hildon-desktop / homescreen
i made a flipclock wgt, but want to have it on the hildondesktop as a widget, not as a application.
i tried the following config.xml, but it opens fullscreen
and is not selectable as widget
<?xml version="1.0" encoding="UTF-8"?>
<content src="index.html" />
is this even possible? is there a link to documentation explaining how to do this?
Yes, the widgets can go to the home screen, you need in the config.xml:
@widget xmlns="http://www.w3.org/ns/widgets" viewmodes="minimized"@
You can also read my sample:
Thanks for the info.
In your tutorial you mention that the homescreen widgets have a fixed size - any idea if it can be changed? If I remember correctly the W3C Widget specs have guidelines specifying the method for manipulating widget sizes - do they work here as well?
This fixed size might be changed in future. However, you can not change it in the widget. Basically, there's still working going on how to treat the size for widgets.