user825042
user825042

Reputation: 1

Customised Android Home Screen with default Widget

I have customised the home screen sample application which was there in Android SDK samples, and now trying to add a clock widget there.This home screen sample doesn't have any option in the menus to add widgets. And my objective is to just a Digital Clock and Whether in the Home screen. So can you pls suggest me about how to proceed ?

Upvotes: 0

Views: 517

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007584

Use a different home screen as the basis for your research. The Launcher2 home screen is in the Android open source project, and there may be third-party home screen implementations that are open source as well. You will be looking for classes like AppWidgetHost and AppWidgetHostView.

Upvotes: 1

Related Questions