SlideShare una empresa de Scribd logo
1 de 43
W3C DAP Introduction for HTML5 KIG BJ Kim , 2011/07/11
Contents APIs  Requirement Interface Code example  Milestones
List of APIs @http://www.w3.org/2010/11/DeviceAPICharter.html Calendar Contacts Capture Messaging Network Information Battery status event Generic sensors Audio volume level Web Introducer Gallery Discovery devices and services Feature permission Privacy mechanism
Calendar - Requirement High-level interfaces required to obtain read access to a user’s calendaring service. W3C Working Draft 19 April 2011 http://www.w3.org/TR/2011/WD-calendar-api-20110419/ Use cases A web application would like to access the device calendar A user would like to create/modify/delete a Calendar appointment A user would like to enter a birthday of his friend with a recurrence event A user would like to set a reminder for upcoming events
Calendar - Interface
Calendar – Code Example
Contact - Requirement High-level interfaces required to obtain read access to a user’s unified address book. W3C Working Draft 16 June 2011 http://www.w3.org/TR/contacts-api/ Use cases A website requests access to a user's address book
Contact - Interface
Contact – Code Example
Capture - Requirement HTML form enhancements that provide access to the audio, image and video capture capabilities of the device. W3C Working Draft 14 April 2011 http://dev.w3.org/2009/dap/camera/ Use cases A media capture file picker might render
Capture - Interface
Capture – Code Example
Messaging - Requirement Provides access to messaging functionality in the device, including SMS, MMS and e-mail. W3C Working Draft 14 April 2011 http://www.w3.org/TR/messaging-api/ W3C Editor's Draft 04 July 2011 http://dev.w3.org/2009/dap/messaging/ Use cases User can send sms, mms and email.
Messaging - Interface
Messaging – Code Example
Network Information - Requirement An interface for Web Applications to access the underlying network information (connection info) of the device. W3C Working Draft 07 June 2011 http://www.w3.org/TR/netinfo-api/ W3C Editor's Draft 07 June 2011 http://dev.w3.org/2009/dap/netinfo/ Use cases Canget information about network Can decide whether network is free or not (Wifi or 3G/4G?)
Network Information - Interface
Network Information – Code Example
Battery Status Event - Requirement A new DOM event type that provides information about the battery status of the hosting device and associated auxiliary devices. W3C Working Draft 02 June 2011 http://www.w3.org/TR/battery-status/ W3C Editor's Draft 01 July 2011 http://dev.w3.org/2009/dap/system-info/battery-status.html Use cases Using battery now? Is charging now? Batter remaining percentage Time for batter life
Battery Status Event - Interface
Battery Status Event – Code Example
Generic Sensors - Requirement General interface for sensor values. W3C Editor’s Draft 16 March 2011  http://dev.w3.org/2009/dap/system-info/#sensors For now, part of System information API rather than separate spec Use cases Automatically adjust the UI colors if the ambient light gets too bright
Generic Sensors - Interface
Generic Sensors – Code Example
Audio Volume Level - Requirement The volume level of a speaker, on a 0 to 100 scale. W3C Editor’s Draft 16 March 2011  http://dev.w3.org/2009/dap/system-info/#output-devices For now, part of System information API rather than separate spec Use cases Count audio devices. Get the volume of speaker on the device.
Audio Volume Level - Interface
Audio Volume Level – Code Example
Web Introducer - Requirement Enables Web content to discover a user’s personal resources, no matter where they are hosted, and gain permission to interact with them via a one-click user interaction. Editor's Draft 4 May 2011 http://web-send.org/introducer/ Use cases Link sharing SMS events File chooser
Web Introducer - Interface
Web Introducer – Code Example
Gallery - Requirement API that provides access to media gallery located on the device. W3C Editor’s Draft 04 November 2010 http://dev.w3.org/2009/dap/gallery/ Use cases Web application can select local image when uploading a photo to a web site. User would like to sort local image (+external and online) by the specific metadata property like title, created date, location, etc
Gallery - Interface
Gallery – Code Example
Discovery devices and services - Requirement APIs for the web page scripts to discover devices and services on local networks, Bluetooth, USB and so on. No W3C spec yet http://www.w3.org/2011/04/discovery.html Early demo level in WebInOS project Use cases Search USB, Bluetooth, Printer connectable with device
Discovery devices and services - Interface
Discovery devices and services – Code Example
Feature Permission - Requirement APIs for web pages to request permission to use privileged user agent features. Latest published version http://www.w3.org/TR/perms/  BUT, “DOCUMENT NOT FOUND” W3C Editor's Draft 31 May 2011 http://dev.w3.org/2006/webapi/WebNotifications/publish/FeaturePermissions.html Use cases When access to contact information is ‘Default_Denied’, can request a permission to ‘User_Allowed’.
Feature Permission - Interface
Feature Permission – Code Example
Privacy mechanism - Requirement Provides definitions, use cases, and requirements for making device APIs more privacy-friendly. W3C Editor’s Draft 23 June 2010 http://dev.w3.org/2009/dap/privacy-reqs/ W3C Working Group Note 29 June 2010 http://www.w3.org/TR/dap-privacy-reqs/ Use cases Privacy Considerations for API Usage Privacy Considerations for Device Property Access
Privacy mechanism – Code Example
Milestones @http://www.w3.org/2010/11/DeviceAPICharter.html ,[object Object]
Working Group starts work under new charter and calls for proposals for new deliverables

Más contenido relacionado

Similar a W3C DAP APIs Overview for HTML5 KIG

Practical Tips for Mobile Widget development
Practical Tips for Mobile Widget developmentPractical Tips for Mobile Widget development
Practical Tips for Mobile Widget developmentbrucelawson
 
Practical Tips for developing W3C Mobile Widgets
Practical Tips for developing W3C Mobile WidgetsPractical Tips for developing W3C Mobile Widgets
Practical Tips for developing W3C Mobile Widgetsguestd427df
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperSam Basu
 
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch SingaporeIoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch SingaporeOpen Mobile Alliance
 
21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMS21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMSkoolkampus
 
Orion context broker webminar 2013 05-30
Orion context broker webminar 2013 05-30Orion context broker webminar 2013 05-30
Orion context broker webminar 2013 05-30Fermin Galan
 
Information sharing pipeline
Information sharing pipelineInformation sharing pipeline
Information sharing pipelineVioleta Ilik
 
Automatic Creation of User Profiles for Achieving Personal Web Accessibility
Automatic Creation of User Profiles for Achieving Personal Web AccessibilityAutomatic Creation of User Profiles for Achieving Personal Web Accessibility
Automatic Creation of User Profiles for Achieving Personal Web AccessibilityMarkel Vigo
 
Single Page App Dev with LightSwitch Framework.
Single Page App Dev with LightSwitch Framework.Single Page App Dev with LightSwitch Framework.
Single Page App Dev with LightSwitch Framework.Sumantro Mukherjee
 
Nt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And AnswersNt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And AnswersLisa Williams
 
Mariana Alupului Inventions
Mariana Alupului InventionsMariana Alupului Inventions
Mariana Alupului Inventionsmalupului
 
What's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkWhat's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkSam Basu
 
Semantic Web, an introduction for bioscientists
Semantic Web, an introduction for bioscientistsSemantic Web, an introduction for bioscientists
Semantic Web, an introduction for bioscientistsEmanuele Della Valle
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & AzureSam Basu
 
Cloud Connectivity Service
Cloud Connectivity ServiceCloud Connectivity Service
Cloud Connectivity Servicejhpark
 

Similar a W3C DAP APIs Overview for HTML5 KIG (20)

Practical Tips for Mobile Widget development
Practical Tips for Mobile Widget developmentPractical Tips for Mobile Widget development
Practical Tips for Mobile Widget development
 
Practical Tips for developing W3C Mobile Widgets
Practical Tips for developing W3C Mobile WidgetsPractical Tips for developing W3C Mobile Widgets
Practical Tips for developing W3C Mobile Widgets
 
J web socket
J web socketJ web socket
J web socket
 
WebSockets - Boosting Web Communication - SDC 2011
WebSockets - Boosting Web Communication - SDC 2011WebSockets - Boosting Web Communication - SDC 2011
WebSockets - Boosting Web Communication - SDC 2011
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone Developer
 
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch SingaporeIoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
 
21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMS21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMS
 
Orion context broker webminar 2013 05-30
Orion context broker webminar 2013 05-30Orion context broker webminar 2013 05-30
Orion context broker webminar 2013 05-30
 
Cs2305 nol
Cs2305 nolCs2305 nol
Cs2305 nol
 
Information sharing pipeline
Information sharing pipelineInformation sharing pipeline
Information sharing pipeline
 
Automatic Creation of User Profiles for Achieving Personal Web Accessibility
Automatic Creation of User Profiles for Achieving Personal Web AccessibilityAutomatic Creation of User Profiles for Achieving Personal Web Accessibility
Automatic Creation of User Profiles for Achieving Personal Web Accessibility
 
Single Page App Dev with LightSwitch Framework.
Single Page App Dev with LightSwitch Framework.Single Page App Dev with LightSwitch Framework.
Single Page App Dev with LightSwitch Framework.
 
Nt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And AnswersNt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And Answers
 
Mariana Alupului Inventions
Mariana Alupului InventionsMariana Alupului Inventions
Mariana Alupului Inventions
 
What's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkWhat's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon Talk
 
Web2.0-IFF
Web2.0-IFFWeb2.0-IFF
Web2.0-IFF
 
Web2.0-IFF
Web2.0-IFFWeb2.0-IFF
Web2.0-IFF
 
Semantic Web, an introduction for bioscientists
Semantic Web, an introduction for bioscientistsSemantic Web, an introduction for bioscientists
Semantic Web, an introduction for bioscientists
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
 
Cloud Connectivity Service
Cloud Connectivity ServiceCloud Connectivity Service
Cloud Connectivity Service
 

Último

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Último (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

W3C DAP APIs Overview for HTML5 KIG

  • 1. W3C DAP Introduction for HTML5 KIG BJ Kim , 2011/07/11
  • 2. Contents APIs Requirement Interface Code example Milestones
  • 3. List of APIs @http://www.w3.org/2010/11/DeviceAPICharter.html Calendar Contacts Capture Messaging Network Information Battery status event Generic sensors Audio volume level Web Introducer Gallery Discovery devices and services Feature permission Privacy mechanism
  • 4. Calendar - Requirement High-level interfaces required to obtain read access to a user’s calendaring service. W3C Working Draft 19 April 2011 http://www.w3.org/TR/2011/WD-calendar-api-20110419/ Use cases A web application would like to access the device calendar A user would like to create/modify/delete a Calendar appointment A user would like to enter a birthday of his friend with a recurrence event A user would like to set a reminder for upcoming events
  • 7. Contact - Requirement High-level interfaces required to obtain read access to a user’s unified address book. W3C Working Draft 16 June 2011 http://www.w3.org/TR/contacts-api/ Use cases A website requests access to a user's address book
  • 10. Capture - Requirement HTML form enhancements that provide access to the audio, image and video capture capabilities of the device. W3C Working Draft 14 April 2011 http://dev.w3.org/2009/dap/camera/ Use cases A media capture file picker might render
  • 12. Capture – Code Example
  • 13. Messaging - Requirement Provides access to messaging functionality in the device, including SMS, MMS and e-mail. W3C Working Draft 14 April 2011 http://www.w3.org/TR/messaging-api/ W3C Editor's Draft 04 July 2011 http://dev.w3.org/2009/dap/messaging/ Use cases User can send sms, mms and email.
  • 16. Network Information - Requirement An interface for Web Applications to access the underlying network information (connection info) of the device. W3C Working Draft 07 June 2011 http://www.w3.org/TR/netinfo-api/ W3C Editor's Draft 07 June 2011 http://dev.w3.org/2009/dap/netinfo/ Use cases Canget information about network Can decide whether network is free or not (Wifi or 3G/4G?)
  • 18. Network Information – Code Example
  • 19. Battery Status Event - Requirement A new DOM event type that provides information about the battery status of the hosting device and associated auxiliary devices. W3C Working Draft 02 June 2011 http://www.w3.org/TR/battery-status/ W3C Editor's Draft 01 July 2011 http://dev.w3.org/2009/dap/system-info/battery-status.html Use cases Using battery now? Is charging now? Batter remaining percentage Time for batter life
  • 20. Battery Status Event - Interface
  • 21. Battery Status Event – Code Example
  • 22. Generic Sensors - Requirement General interface for sensor values. W3C Editor’s Draft 16 March 2011 http://dev.w3.org/2009/dap/system-info/#sensors For now, part of System information API rather than separate spec Use cases Automatically adjust the UI colors if the ambient light gets too bright
  • 23. Generic Sensors - Interface
  • 24. Generic Sensors – Code Example
  • 25. Audio Volume Level - Requirement The volume level of a speaker, on a 0 to 100 scale. W3C Editor’s Draft 16 March 2011 http://dev.w3.org/2009/dap/system-info/#output-devices For now, part of System information API rather than separate spec Use cases Count audio devices. Get the volume of speaker on the device.
  • 26. Audio Volume Level - Interface
  • 27. Audio Volume Level – Code Example
  • 28. Web Introducer - Requirement Enables Web content to discover a user’s personal resources, no matter where they are hosted, and gain permission to interact with them via a one-click user interaction. Editor's Draft 4 May 2011 http://web-send.org/introducer/ Use cases Link sharing SMS events File chooser
  • 29. Web Introducer - Interface
  • 30. Web Introducer – Code Example
  • 31. Gallery - Requirement API that provides access to media gallery located on the device. W3C Editor’s Draft 04 November 2010 http://dev.w3.org/2009/dap/gallery/ Use cases Web application can select local image when uploading a photo to a web site. User would like to sort local image (+external and online) by the specific metadata property like title, created date, location, etc
  • 33. Gallery – Code Example
  • 34. Discovery devices and services - Requirement APIs for the web page scripts to discover devices and services on local networks, Bluetooth, USB and so on. No W3C spec yet http://www.w3.org/2011/04/discovery.html Early demo level in WebInOS project Use cases Search USB, Bluetooth, Printer connectable with device
  • 35. Discovery devices and services - Interface
  • 36. Discovery devices and services – Code Example
  • 37. Feature Permission - Requirement APIs for web pages to request permission to use privileged user agent features. Latest published version http://www.w3.org/TR/perms/ BUT, “DOCUMENT NOT FOUND” W3C Editor's Draft 31 May 2011 http://dev.w3.org/2006/webapi/WebNotifications/publish/FeaturePermissions.html Use cases When access to contact information is ‘Default_Denied’, can request a permission to ‘User_Allowed’.
  • 38. Feature Permission - Interface
  • 39. Feature Permission – Code Example
  • 40. Privacy mechanism - Requirement Provides definitions, use cases, and requirements for making device APIs more privacy-friendly. W3C Editor’s Draft 23 June 2010 http://dev.w3.org/2009/dap/privacy-reqs/ W3C Working Group Note 29 June 2010 http://www.w3.org/TR/dap-privacy-reqs/ Use cases Privacy Considerations for API Usage Privacy Considerations for Device Property Access
  • 41. Privacy mechanism – Code Example
  • 42.
  • 43. Working Group starts work under new charter and calls for proposals for new deliverables
  • 45. Contacts API becomes a Candidate Recommendation
  • 46. All deliverables have assigned editors
  • 48. HTML Media Capture, Battery and Network APIs becomes Candidate Recommendations
  • 50. All deliverables have reached First Public Working Draft status
  • 52. All deliverables have reached Last Call status
  • 54.