HTML5 Intro and Tizen Web API

813 views
617 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
813
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

HTML5 Intro and Tizen Web API

  1. 1. Tizen Web Runtime. Device API
  2. 2. Что нового в html5 ● Элементы разметки: – ● article, nav, header, footer... Поддержка API – 2D drawing – video, audio – Offline web – Drag and Drop – File API – Геолокация – Базы данных (key-value)
  3. 3. Html + javascript hello.html test.js
  4. 4. Hello world
  5. 5. Hello world details ● in HTML ● in main.js
  6. 6. Device API overview ● Tizen (Common) ● Communication ● Social ● Content ● Input/Output ● System ● Application ● User interface (notifications)
  7. 7. Privileges
  8. 8. Privilege levels ● ● ● Public – open to all Tizen application developers Partner – can only be used by developers registered as partners on the Tizen store Platform – can be used by system APIs for managing the Tizen platform
  9. 9. Tizen API ● Basic definitions and interfaces ● Contains: – filters ● ● ● attribute attribute range composite – sorting modes – Web API ● ● errors/exception handlers callbacks
  10. 10. Filter example
  11. 11. Application API ● Implements Application and Application context management: – get information about application/context – launch/kill – list of installed apps – application events callback ● ● ● oninstalled onuninstalled onupdated
  12. 12. Application example
  13. 13. Example: Application API
  14. 14. Communication API ● Bluetooth ● Messaging: SMS, MMS, E-mails ● NFC ● Push notifications ● *secure elements access
  15. 15. Communication example
  16. 16. Content API ● Access to media files (audio, video, image,...) ● ContentManager – global tizen object – – view and update – ● browsing content update notifications DownloadRequest – interface for downloading content from the web.
  17. 17. Download example
  18. 18. Input/Output API ● Filesystem: – ● collection of disjointed filesystem virtual root locations, each corresponding to a specific location in the device filesystem MessagePort – interracts as local IPC(Inter-ProcessCommunication) mechanism.
  19. 19. Filesystem example
  20. 20. MessagePort example
  21. 21. System API ● General system information ● Power status ● System settings (wallpapers and ringtones) ● Date/Time ● Web settings (cookies, ...)
  22. 22. Social API ● Management for – web bookmarks – calendars, events, tasks – call history – contacts – supports Open Mobile Alliance data synchronization protocol.
  23. 23. Calendar example
  24. 24. System API example
  25. 25. Example: deviceOrientation
  26. 26. Example: canvas
  27. 27. Questions kirill.krinkin@fruct.org

×