Opera Widget SDK released

Opera has announced the release of Opera Widgets SDK beta, that allows Web developers to create Web applications capable of running on all devices.

Yesterday’s release of Opera Widgets SDK beta grants Web developers the ability to create Web applications capable of running on all devices.

The SDK is W3C standards-compliant and compatible with Opera 9.5 or higher. It utilises Web technologies such as HTML, CSS and media queries, JavaScript and Ajax for developing widgets.

The Opera Widgets SDK is equipped with an emulator, libraries, documentation and the Opera Dragonfly debugger.

A video tour is available to get started quickly.

Below is a more detailed description of some of the elements of the package:

Widget Emulator
This tool is designed to let you preview how your widgets will get displayed on different devices such as your computer, mobile and TV. The screenshots below show howthe My Opera default widget renders in different environments.


Mobile phone -- landscape view

Mobile phone -- portrait view


To view your own widget, download the emulator, copy it to the widget directory and add the following code at the top of your JavaScript to initialise the widget:

<script type="text/javascript">if(parent.emulator)parent.emulator.begin(window);</script>


A number of JavaScript libraries are available to simplify your coding, including animation and testing media queries. You can view the whole list of libraries here.

This section offers a wealth of information on developing widgets, including the Opera Widgets specification, the Opera Widget Core DOM Reference and more.

User forum
A community forum dedicated to widgets where you can get additional help from.

Opera Dragonfly
Opera Dragonfly allows you to inspect and debug your JavaScript and CSS.

If you are interested in developing widgets for different devices, test out the Opera Widget SDK and share your thoughts.

-- Posted by Lana Kovacevic