SlideShare a Scribd company logo
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

More Related Content

Similar to W3C DAP APIs Overview for HTML5 KIG

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
guestd427df
 
Practical Tips for Mobile Widget development
Practical Tips for Mobile Widget developmentPractical Tips for Mobile Widget development
Practical Tips for Mobile Widget development
brucelawson
 
WebSockets - Boosting Web Communication - SDC 2011
WebSockets - Boosting Web Communication - SDC 2011WebSockets - Boosting Web Communication - SDC 2011
WebSockets - Boosting Web Communication - SDC 2011
Innotrade GmbH, jWebSocket.org, Alexander Schulze
 
J web socket
J web socketJ web socket
J web socket
Hiroshi Ochi
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone Developer
Sam 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 Singapore
Open 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 DBMS
koolkampus
 
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
Fermin Galan
 
Cs2305 nol
Cs2305 nolCs2305 nol
Cs2305 nol
jothikanaga
 
Information sharing pipeline
Information sharing pipelineInformation sharing pipeline
Information sharing pipeline
Violeta 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 Accessibility
Markel 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 Answers
Lisa Williams
 
Mariana Alupului Inventions
Mariana Alupului InventionsMariana Alupului Inventions
Mariana Alupului Inventions
malupului
 
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
Sam Basu
 
Web2.0-IFF
Web2.0-IFFWeb2.0-IFF
Web2.0-IFF
guest5991b
 
Web2.0-IFF
Web2.0-IFFWeb2.0-IFF
Web2.0-IFF
nidhi murarka
 
Semantic Web, an introduction for bioscientists
Semantic Web, an introduction for bioscientistsSemantic Web, an introduction for bioscientists
Semantic Web, an introduction for bioscientists
Emanuele Della Valle
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
Sam Basu
 
Cloud Connectivity Service
Cloud Connectivity ServiceCloud Connectivity Service
Cloud Connectivity Service
jhpark
 

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

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
 
Practical Tips for Mobile Widget development
Practical Tips for Mobile Widget developmentPractical Tips for Mobile Widget development
Practical Tips for Mobile Widget development
 
WebSockets - Boosting Web Communication - SDC 2011
WebSockets - Boosting Web Communication - SDC 2011WebSockets - Boosting Web Communication - SDC 2011
WebSockets - Boosting Web Communication - SDC 2011
 
J web socket
J web socketJ web socket
J web socket
 
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
 

Recently uploaded

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 

Recently uploaded (20)

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 

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.