This is an in-depth developer example to show off the new AppWidget framework in the Android 1.5 SDK.
It offers multiple configurations (both a 2×1 and tiny 1×1), and updates four times daily with the latest forecasts. You can also insert multiple widgets to keep track of the weather in different locations. And tapping the widget brings up a detailed forecast for the next few days.
More details available on this blogpost: http://www.jsharkey.org/blog/2009/04/24/forecast-widget-for-android-15-with-source/