0

How to set logo in tv Widget?

Hi everybody,
Can you help me to set logo in my Tv_Widget?
I try the instruction in the user guide but I don't know where I have to put "widget.setImage(usage, element);" so if anyone have any idea that will be helpful.
Thanks,

by
4 Replies
  • QUOTE (abdellatif.hajjaj @ Feb 18 2010, 08:12 AM) <{POST_SNAPBACK}>
    Hi everybody,
    Can you help me to set logo in my Tv_Widget?
    I try the instruction in the user guide but I don't know where I have to put "widget.setImage(usage, element);" so if anyone have any idea that will be helpful.
    Thanks,

    Any reason why you aren't just setting it in the widget.xml file?

    CODE
    <metadata> 
    <image usage="960x540.logo" src="Images/logo-960.png"/>
    <image usage="1920x1080.logo" src="Images/logo-1920.png"/>
    </metadata>
    0
  • Thank you for your reply,
    I get start with Tvwidget. I try this but it doesn't work.
    <image usage="1920x1080.logo" src="image/1920x1080/application-logo.png"/> placed in Widget.xml.
    I don't know, if there are any other steps to do.
    thank you very much,
    0
  • QUOTE (abdellatif.hajjaj @ Feb 19 2010, 03:00 AM) <{POST_SNAPBACK}>
    <image usage="1920x1080.logo" src="image/1920x1080/application-logo.png"/> placed in Widget.xml.

    You are developing in the 960x540 view not the 1920x1080. So changing the 1080 assets will not affect the 540 simulator.

    Also, you need to "reset" and "update" the simulator to force the plaform to cache the new image assets, as well. Hope this helps.
    0
  • QUOTE (WidgetRealm @ Feb 19 2010, 07:19 PM) <{POST_SNAPBACK}>
    You are developing in the 960x540 view not the 1920x1080. So changing the 1080 assets will not affect the 540 simulator.

    Also, you need to "reset" and "update" the simulator to force the plaform to cache the new image assets, as well. Hope this helps.


    thank you very much, it's OK
    0

Recent Posts

in Getting Started / Beginners - Yahoo! TV Widgets