Embed custom view in android home screen widget
I am building a home screen widget and I want to add an advertisement to it. Currently the advertises SDK provides a custom view widget which I tried to e开发者_开发知识库mbed in my home screen widget. But when I add it, it says problem loading widget. I'm guessing I can't add custom views to a widget? Could someone clarify or tell me how I could add an advertisement to my home screen widget.
Thank you
Home screen widgets support very limited number of standard widgets. You can't use custom widgets for them. See App Widgets.
精彩评论