Own Widgets? Did anyone of You succeed to make own Widgets?

This is general talk area for things that NOT RELATED WITH TV! Instead, about internal works like web site, forum, wiki, or talking, etc...
Post Reply

goaskin
Posts: 69
Joined: Sat Nov 28, 2009 9:33 pm

Re: Own Widgets? Did anyone of You succeed to make own Widgets?

Post by goaskin »

You need to create your own widget bundle at first. For that, it is neither required to have the WDK installed nor to submit it to yahoo.

Dive into the firmware and download an installed widget from the TV. They're located in a subdirectory of /mtd_down and have names like com.yahoo.widgets.tv.weather.widget. Drag the whole directory structure of a widget to your computer. Then rename the widget root directory, give it a new name in the widget.xml and modify the javascripts as you want. Documentation you will find on the yahoo developer network. Furthermore, there are various forums. When finished, copy the new widget bundle to the same directory on the TV where you downloaded it before. At last, you need to modify the database file widgets.db in the widget root on the TV (also in /mtd_down). It is required to have a database program that is able to open Berkeley DB files. If you have one that cannot handle DB files, try to find an ODBC driver! This database contains a table with some informations about your installed widgets (paths, position in the sidebar etc.). Make one entry for your new widget. Then, it should appear in your widget bar but never in the gallery.

It would be a great idea to generate something like an offline widget installer as part of the SamyGO project. A small tool could automate this procedure and allow to install new custom widgets without the need to deal with yahoo. They published their WDK to be downloaded by everyone but when someone submits a new widget, a lot of things need to be happened before yahoo really accepts it. This is a long procedure for big companies too. And for private/non-commercial widgets? I don't know but I believe it is much harder.

The WDK provides a TV widget simulator for Linux but nothing necessary for programming and submitting a widget.
goaskin
Posts: 69
Joined: Sat Nov 28, 2009 9:33 pm

Re: Own Widgets? Did anyone of You succeed to make own Widgets?

Post by goaskin »

The Yahoo TV widget system only knows a very restricted number of implemented commands. Many basic things are not possible (for example text parsing). So, the widgets can only have a limited functionality. You start a project and see that features are missing to complete it. Only workaround: Server-sided processing and using the widget system as frontend only. Neither web-grabbing nor using non-http data connections is possible.
sarahjoe
Posts: 1
Joined: Wed Dec 17, 2014 5:19 am

Re: Own Widgets? Did anyone of You succeed to make own Widge

Post by sarahjoe »

What I really want is webradio and doing my own widgets. I read a lot about Yahoo almost letting die the whole project. There is nothing new, nothing going on?
hazel

Post Reply

Return to “General”