Symbian-Developers
The Official Developers Section => Symbian Software Development Discussions => The Developers Section => Symbian Web Runtime => Topic started by: Allstar12345 on July 11, 2012, 03:16:54 am
-
An introduction to Symbian Webruntime
Hi guys,
now you may have no idea what runtime or WRT is but im gonna explain with some simple starting code as some examples, you ever installed or seen a .wgz app ?
That is a WRT widget installer but its unlike a .sis file which needs special signing because WRT needs no security signing of any kind because its simply a .zip file just go to a widget installer and re-name it to a .wgz .
Basic, load webpage internally on widget launch
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>WIDGET TITLE</title>
<meta http-equiv="REFRESH" content="0;url=URL WHICH YOU WANT TO LOAD">
</head>
<BODY>
loading circle while waiting for internet connection to establish
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<img src="ANIMATION FILE NAME" alt="loader" height="HEIGHT" width=""WIDTH />
<html>
<head>
<title>WIDGET TITLE</title>
<meta http-equiv="REFRESH" content="0;url=URL WHICH YOU WANT TO LOAD">
</head>
<BODY>
Info.plist file explained HERE (http://sdf.allstarsoftware.co.uk/symbian-web-runtime/web-runtime-info-plist-explained/new/#new)
-
What? WRT is just local html?
If this is correct, wouldn't this be the ideal place to start instead of qml? Or is qml even easier?
-
What? WRT is just local html?
If this is correct, wouldn't this be the ideal place to start instead of qml? Or is qml even easier?
As a base yes, an offline webpage.
But no, it's not the ideal place.
WRT is broken badly, lots of API's are buggy, it's terribly slow (nokia webkit) and has no file access.
-
Ok. Back to reading :D
Thanks :)
-
Go to QtQuick first, create a few apps via UiDesigner.
After you learned how it works have a look to the .qml files.
After you understood them extend your functionality via calling Qt functions from classes.
If you mastered this it's time to integrate some native Symbian C++ code
-
:D
Thanks, both of you. i am still reading about Qt before i give it a go ;)