SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
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
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

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