Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

WRT Web RunTime on N810 Internet Tablet

From Wiki
Jump to: navigation, search
Article Metadata
Code Example
Source file:
Created: jimgilmour1 (09 Jun 2009)
Last edited: hamishwillee (26 Jul 2012)



This article shows how to run some of the Web Runtime Widgets on the N810 Internet Tablet using OS2008 version 5.2008.43-7 firmware version.See the article How to upgrade your N810 WiMax Internet tablet. This includes adding the unzip application and editors.

How to implement a WRT on N810

The transfer is carried out by bluetooth or the USB cable. The USB cable causes the N810 to look like two removable disk drives. The bluetooth on Using Nokia SDKs and Tools on Windows Vista#Belkin Vista Driver makes transfer very easy.

The example to be used is Progress Bar JavaScript component for Web Runtime. Sometimes the widget is delivered as zip file. Therefore we need to extract the widget, rename the file "ProgressBarWidget.wgz" to "" in another directory.

Next we send or transfer to the N810, switch off the automatic open of the zip file and save the "".

Make sure you have installed unzip and PyGTKEditor as described in Useful Applications.
In File Explorer tap on "" an this uncompress into the directory "ProgressBarWidget".
Download the below into "ProgressBarWidget" and extract this then delete the

Now edit the main.html with PyGTKEditor,from the drop-down Menu,tap "Edit>" and tap "Language", tap the ">" and tap "js",top list, the color syntax will appear and add the new line as shown below

<script type="text/javascript" src="WRTKit/WRTKit.js"></script>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
<title> Sample Widget</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="WRTKit/WRTKit.js"></script>
<script language="javascript" type="text/javascript" src="basic.js"></script>
<script language="javascript" type="text/javascript" src="ProgressBar.js"></script>
<link rel="stylesheet" href="basic.css" type="text/css">
<META NAME="Generator" CONTENT="Nokia WRT plug-in for Aptana Studio 2.0.0" />
<body onLoad="javascript:init();">
<div id="loading_bar"></div>

Running the WRT

This is very easy in File Explorer tap on the modified main.html.

Functions that wont run in N810 WRT

The following snippet of code will fail with "JavaScript application failed initialize"

request = new XMLHttpRequest();"GET", xmlFile, true );

This is because the security option "same domain" is set "true" on the Web browser.

If you were to change this value you could not safely surf the Internet from the N810 tablet and the integrity could be compromised by rogue remote javascript.

Related other WRT tested on the N810


Web Runtime Support Library

Download the library and put this in the same directory as WRT widget was previously extracted.

This page was last modified on 26 July 2012, at 05:35.
58 page views in the last 30 days.