SlideShare a Scribd company logo
1 of 24
Widgets master class ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://groups.google.com/group/overtheair-nokia-widgets-master-class
Material ,[object Object],[object Object],[object Object],[object Object],[object Object]
Petro Soininen WRT  Widgets Dismantled
WRT Widgets  Dismantled ,[object Object],OK… What  can I do … and  How? I understand the basics. Where  can I get more info? and
S60 WRT ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Symbian OS Nokia UI  features S60 plug-ins, incl. Flash Lite, SVG, and audio. Symbian HTTP framework Netscape plug-in API (NPL) WebCore KHTML JavaScript Core KJS Browser Control S60  WebKit OS adaptations Memory manager S60 WRT S60 Browser UI WRT Web pages/apps Widgets SAPI Extensions via SAPI Framework Extensions via Netscape plug-in
Web Run-Time  - Current Goal ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],S60 3 rd  Edition Feature Pack 2
What to look for in the next phase? ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
WRT Widget component structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Widget  properties +  HTML  backbone PNG  icon +  CSS  layout + js  logic
Widget Installation Package ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Info.plist  – widget properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
HTML –  The Backbone ,[object Object],<html> <head> .. </head> <body id=&quot;body&quot;> <div id=‘mainView’> <span class=‘title’>Front view</span> </div> <div id=‘subView1’  class=‘subView’> <p class=‘title’>Back view</p> </div> <div id=‘subView2’  class=‘subView’> <p class=‘title’>Config view</p> </div> </body> </html> Use the  <div>  (block-level) element to construct the widget’s  views . Views  can be constructed with static  HTML  elements or can be dynamically created by  JavaScript  at runtime.
CSS – Makeup for a Widget ,[object Object],[object Object],[object Object],// Class selector to define common style for similar components .title { font-size: 26px; color: blue; } .subView { display: none } // Id selector to define a unique style for a unique component #mainView { font-size: 16px; color: red; text-align: center; } // Pseudo-class selector to design a pattern style div.subview div { margin: 10px 0 0 0; padding: 20px 20px 20px 20px; . . . }
JavaScript – The logic ,[object Object],[object Object],[object Object],[object Object],// define some global variable var globalVariable = 0; //  function multiply(xValue, yValue){ return xValue * yValue; } // create a new element with DOM function var newElement =  document.createElement (‘div’); newElement. setAttribute (‘id’, ‘extraView’); // show/hide views function changeView(activeViewId, hiddenViewId){ var activeView =     document.getElementById ( activeViewId); activeView.style.display   = ‘block’; . . . } ,[object Object],[object Object],[object Object]
[object Object],[object Object],Nokia widget-specific JavaScript APIs for: Widget properties Utility functions Menu handling System info and services
Widget Object ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],var h =  window.screen.height; var w =  window.screen.width; if (h < w) widget.setDisplayLanscape();
Menus ,[object Object],[object Object],function createMenu { var settings = new  MenuItem ( ‘ Settings’, 10); settings.onSelect  = showSettings; window.menu.append (settings); opMenu. setRightSoftKeyLabel ( ‘ Back’, toMainView); } function showSettings(id) { document.getElementById( ‘ setting’).style.display = ‘block’; }
System Info Service API ,[object Object],[object Object],[object Object],[object Object],[object Object],<embed type=&quot;application/x-systeminfo-widget&quot; hidden=&quot;yes&quot;></embed>
System Info Service API Properties  and  callback  requests Charger Lights Power Network Beep tones Memory Vibra File System Charger Language
WRT widget development ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Tools and documentation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WRTKit ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Ok, this should be  enough  for now Let’s check how to do it in practice

More Related Content

Viewers also liked

Cosas InsóLitas
Cosas InsóLitasCosas InsóLitas
Cosas InsóLitas
Efren Rubio
 
Wjos Kundevent Print Opt
Wjos Kundevent Print OptWjos Kundevent Print Opt
Wjos Kundevent Print Opt
lidneinc
 
EvolucióN De La Radio
EvolucióN De La RadioEvolucióN De La Radio
EvolucióN De La Radio
ceny2
 
Negative Impact Of Mn Cs
Negative Impact Of Mn CsNegative Impact Of Mn Cs
Negative Impact Of Mn Cs
rajeevgupta
 
Presentacion de Rally
Presentacion de RallyPresentacion de Rally
Presentacion de Rally
Cesar Holguin
 
Job Evaluation (2)
Job Evaluation (2)Job Evaluation (2)
Job Evaluation (2)
rajeevgupta
 

Viewers also liked (20)

Cosas InsóLitas
Cosas InsóLitasCosas InsóLitas
Cosas InsóLitas
 
Fenomena Kreatif
Fenomena KreatifFenomena Kreatif
Fenomena Kreatif
 
Wjos Kundevent Print Opt
Wjos Kundevent Print OptWjos Kundevent Print Opt
Wjos Kundevent Print Opt
 
Marketing
MarketingMarketing
Marketing
 
wheelplans
wheelplanswheelplans
wheelplans
 
A Uno
A UnoA Uno
A Uno
 
EvolucióN De La Radio
EvolucióN De La RadioEvolucióN De La Radio
EvolucióN De La Radio
 
Lezing mensgerichte zorg en zorg 2.0 op de eerste NL Health 2.0 unconference_...
Lezing mensgerichte zorg en zorg 2.0 op de eerste NL Health 2.0 unconference_...Lezing mensgerichte zorg en zorg 2.0 op de eerste NL Health 2.0 unconference_...
Lezing mensgerichte zorg en zorg 2.0 op de eerste NL Health 2.0 unconference_...
 
Negative Impact Of Mn Cs
Negative Impact Of Mn CsNegative Impact Of Mn Cs
Negative Impact Of Mn Cs
 
Multimedios
MultimediosMultimedios
Multimedios
 
How To Succeed
How To SucceedHow To Succeed
How To Succeed
 
Presentacion de Rally
Presentacion de RallyPresentacion de Rally
Presentacion de Rally
 
Job Evaluation (2)
Job Evaluation (2)Job Evaluation (2)
Job Evaluation (2)
 
pottery plans
pottery planspottery plans
pottery plans
 
協創営業道場資料
協創営業道場資料協創営業道場資料
協創営業道場資料
 
Flesland 11042008
Flesland 11042008Flesland 11042008
Flesland 11042008
 
energia
energiaenergia
energia
 
Did You Know 4 Nov 2007
Did You Know 4 Nov 2007Did You Know 4 Nov 2007
Did You Know 4 Nov 2007
 
Mei Eie Chat 1 (080407)
Mei Eie Chat 1 (080407)Mei Eie Chat 1 (080407)
Mei Eie Chat 1 (080407)
 
Herramientas WEB 2.0 y sus aplicaciones en educación
Herramientas WEB 2.0 y sus aplicaciones en educaciónHerramientas WEB 2.0 y sus aplicaciones en educación
Herramientas WEB 2.0 y sus aplicaciones en educación
 

Similar to WRT Widgets Masterclass - OverTheAir

Develop Flash Lite App in Nokia S60
Develop Flash Lite App in Nokia S60Develop Flash Lite App in Nokia S60
Develop Flash Lite App in Nokia S60
Bess Ho
 

Similar to WRT Widgets Masterclass - OverTheAir (20)

Miha Lesjak Mobilizing The Web with Web Runtime
Miha Lesjak Mobilizing The Web with Web RuntimeMiha Lesjak Mobilizing The Web with Web Runtime
Miha Lesjak Mobilizing The Web with Web Runtime
 
Developing apps on Maemo with Nokia Web Runtime
Developing apps on Maemo with Nokia Web RuntimeDeveloping apps on Maemo with Nokia Web Runtime
Developing apps on Maemo with Nokia Web Runtime
 
Nokia Web-Runtime Presentation (Phong Vu)
Nokia Web-Runtime Presentation (Phong Vu)Nokia Web-Runtime Presentation (Phong Vu)
Nokia Web-Runtime Presentation (Phong Vu)
 
Developing Applications with Nokia WRT
Developing Applications with Nokia WRTDeveloping Applications with Nokia WRT
Developing Applications with Nokia WRT
 
Nokia Web Runtime and Flash Lite
Nokia Web Runtime and Flash LiteNokia Web Runtime and Flash Lite
Nokia Web Runtime and Flash Lite
 
Widgets
WidgetsWidgets
Widgets
 
Treinamento S60 WRT - CETELI UFAM INDT
Treinamento S60 WRT - CETELI UFAM INDTTreinamento S60 WRT - CETELI UFAM INDT
Treinamento S60 WRT - CETELI UFAM INDT
 
Wicket Introduction
Wicket IntroductionWicket Introduction
Wicket Introduction
 
Widget Platform
Widget PlatformWidget Platform
Widget Platform
 
Widgets - the Wookie project
Widgets - the Wookie projectWidgets - the Wookie project
Widgets - the Wookie project
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshell
 
Create Nokia WRT Widget App
Create Nokia WRT Widget AppCreate Nokia WRT Widget App
Create Nokia WRT Widget App
 
S60 3rd FP2 Widgets
S60 3rd FP2 WidgetsS60 3rd FP2 Widgets
S60 3rd FP2 Widgets
 
Basics of web runtime
Basics of web runtimeBasics of web runtime
Basics of web runtime
 
Basics of web runtime
Basics of web runtimeBasics of web runtime
Basics of web runtime
 
Basics of web runtime
Basics of web runtimeBasics of web runtime
Basics of web runtime
 
Basics of web runtime
Basics of web runtimeBasics of web runtime
Basics of web runtime
 
Moving from Web 1.0 to Web 2.0
Moving from Web 1.0 to Web 2.0Moving from Web 1.0 to Web 2.0
Moving from Web 1.0 to Web 2.0
 
Develop Flash Lite App in Nokia S60
Develop Flash Lite App in Nokia S60Develop Flash Lite App in Nokia S60
Develop Flash Lite App in Nokia S60
 
Vodafone Widget Camp
Vodafone Widget CampVodafone Widget Camp
Vodafone Widget Camp
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

WRT Widgets Masterclass - OverTheAir

  • 1.
  • 2.
  • 3. Petro Soininen WRT Widgets Dismantled
  • 4.
  • 5.
  • 6. Symbian OS Nokia UI features S60 plug-ins, incl. Flash Lite, SVG, and audio. Symbian HTTP framework Netscape plug-in API (NPL) WebCore KHTML JavaScript Core KJS Browser Control S60 WebKit OS adaptations Memory manager S60 WRT S60 Browser UI WRT Web pages/apps Widgets SAPI Extensions via SAPI Framework Extensions via Netscape plug-in
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. System Info Service API Properties and callback requests Charger Lights Power Network Beep tones Memory Vibra File System Charger Language
  • 21.
  • 22.
  • 23.
  • 24. Ok, this should be enough for now Let’s check how to do it in practice