Creating a launcher for a web application in Symbian Web Runtime

From Nokia Developer 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="http://www.w3.org/1999/xhtml">
<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 = "http://url.to.your.webapp";


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.
55 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.