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.

Creating a launcher for a web application in Symbian Web Runtime

From Wiki
Jump to: navigation, search

This code snippet shows how to make a web app into a "mobile app", using Symbian Web Runtime the launch the web app in the browser.

Article Metadata
Code ExampleTested with
Devices(s): Nokia N97
Platform(s): S60 5th Edition
Keywords: window.location
Created: tapla (06 Oct 2009)
Last edited: hamishwillee (04 Oct 2012)

Source: HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>WRT Stub</title>
<script type="text/javascript" charset="utf-8">
// Ensure that the softkeys are shown even though by default they
// should be;
// Launch the web application
location.href = "";


The web application is launched from WRT.

Supplementary material

This code snippet is part of the stub concept, which means that it has been patched on top of a template application in order to be more useful for developers. The version of the WRT stub application used as a template in this snippet is v1.2.

This page was last modified on 4 October 2012, at 05:38.
48 page views in the last 30 days.