0

New widget not appearing on Dock

Hello All,

I installed Ubuntu and then installed WDK successfully. I also run simulator. It is running perfectly.

1> I extracted the Video Sample Widget "com.yahoo.widgets.tv.videosample.widget" into your my development directory /devwidgets. (I think this is not done correctly...)
2> I edited widgets.xml file and changed the identifier and the widget name to "Test Sample".
When I run simulator Applications→TV Widgets→540 Latest Production, my new widget is not appearing under Dock.
I also rebooted Ubuntu system. Still it is not appearing.
Please help.
I think the problem is in file extraction, Can you please let me know the file structure under /devwidget directory.

Thanks
Josh

by
4 Replies
  • Make sure to change the widget directory name to match the new ID you setup in your XML file.
    0
  • QUOTE (WidgetRealm @ Mar 19 2010, 08:18 AM) <{POST_SNAPBACK}>
    Make sure to change the widget directory name to match the new ID you setup in your XML file.



    Thanks for the quick reply.
    1> Can you please elaborate above statement.
    2> Also can you please tell me the directory structure in /devwidgets
    0
  • You will need to change the directory name to match the ID you declared in your XML file.

    So, an ID value of "com.company.testing.tv.widget" would have a directory of "/devwidgets/com.company.testing.tv.widget"

    Each widget you create will have a folder in the /devwidgets directory will have a directory will the name that matches the ID.

    Hope thins helps.
    0
  • That's not a requirement. I have other widgets whose directory doesn't match the id and it works.

    Your problem is that you need to change the id (use com.test.mywidget or whatever). The emulator only load a widget for each id.
    When you change that you have to notice that you have in the dock 2 widgets called video sample.
    The text you changed in widget.xml is displayed in the properties page but it doesn't affect the snipplet text.
    0

Recent Posts

in Getting Started / Beginners - Yahoo! TV Widgets