Any AppWidgetHost-tutorials out there?

﹥>﹥吖頭↗ 提交于 2020-01-06 03:18:10

问题


I'm writing an application that should both have the ability to place widgets on the home screen, and to show these widgets in the application itself. I figure that the best way to do this is through the use of an AppWidgetHost for the application part.

I've been looking around, but I cannot find any good examples on how to write AppWidgetHosts. Have any of you done this, and are willing to share? Or do you know of any tutorials that I've missed?


回答1:


Not exactly a tutorial but here is an older forum post.

The code is part of the mylock project, which you also might find useful if you dig.



来源:https://stackoverflow.com/questions/3894489/any-appwidgethost-tutorials-out-there

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!