Widget Host Example
This is an example of how to write an Android APP that is able to host widgets (like the Android Home Screen). The complete text on how it works is on Leonard's blog post Hosting Android Widgets – Leonard's AppWidgetHost Tutorial.