Web Run Time Bootcamp 20100113
Web Run Time Bootcamp 20100113
Ivan Litovski
Symbian Foundation
Introductions
Me
Ivan Litovski, Technical Communications, Symbian Foundation
With Symbian since 2002
Java, System Libraries, Persistent Data Services, Tools, Base
Upcoming book: Inside Symbian SQL
You
Do you know HTML?
CSS?
JavaScript?
Other programming languages?
Have you coded a Widget?
25
20 2009
15 2011
10 2014
5
0
Mobile
Size of the Mobile Apps market
Applications Market (US$BLN) Source: Google
Hello World
Rename to WGZ
MyWidget.zip MyWidget.wgz
IDE
Aptana preview
Firefox / Firebug Debugging
Emulator
\epoc32\winscw\c\Data\Installs
On device
Transfer via USB, bluetooth, memory card,
web...
Functions
Types:
Undefined, Null
Boolean, Number, String, Object
typeof operator
Built in classes
Array, Date, Math, String, RegExp...
Built in objects
window, document, screen ...
http://wiki.forum.nokia.com/index.php/GuaranaUI-Overview
Use it
JavaScript
http://wiki.forum.nokia.com/index.php/Communicating_with_Flash_Lite_from_JavaS
cript_in_a_widget_%28WRT%29
API Bridge
JavaScript API
Symbian server exposing HTTP interface
Features:
File I/O
Basic image manipulation
Location
Installation woes – SIS, signing etc.
Performance
Minify your JS – smaller script, shorter variable names
Narrower scope means faster access
...